How to import maven spring boot project in Eclipse / STS ?

How to import maven spring boot project in Eclipse / STS ? Here I am using spring tool suite to reduce the additional configuration required for spring projects with Eclipse. I highly recommend you to download and use spring tool suite if you are going to develop any projects in spring framework. You can download spring tool suite from here

99 total views, no views today

» Read more

Installing Maven in eclipse

Installing Maven in eclipse: Maven can be installed in eclipse by two ways, 1. Through eclipse marketplace [Help -> Eclipse Marketplace] Search M2E or Maven Integration for Eclipse    M2E – Maven Integration for Eclipse then install this package. 2. Install New Software [Help ->  Install New software] Enter the below URL and select all then click next and finish

344 total views, 0 views today

» Read more

‘artifactId’ with value ‘hello world’ does not match a valid

[INFO] Scanning for projects… [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project com.cognizant.app:hello world:1.1 (D:\My hello world maven \hello world\pom.xml) has 1 error [ERROR] ‘artifactId’ with value ‘hello world’ does not match a valid id patt ern. @ line 5, column 15 [ERROR] [ERROR] To see the full stack trace of the errors,

1,248 total views, 0 views today

» Read more

Hello world Maven

Step 1: Download the maven from http://maven.apache.org/download.html Step 2: Set the path like below, Variable Name: M2_Home Value: Path of the maven (c:\apache-maven-3.0.4) Variable Name: java_home Value: path of the jdk (c:\program files\java\jdk1,6) Variable Name: path Value: %path%;%m2_home%\bin After setting the path go and check in the command prompt by typing mvn –version or mvn. Step 3: Once the maven

418 total views, no views today

» Read more

org.codehaus.plexus.classworlds.realm.NoSuchRealmException

Root cause: Maven path might not be set properly, particularly if you would have set the maven path till maven folder rather than maven\bin folder, you will get this error. Solution: During path setting via command prompt or system properties -> Environment variables you have to do like below, valid maven path: variable name: m2_home value: c:\apache-maven-3.0.4 (Valid) Invalid maven

214 total views, 0 views today

» Read more

Maven Installations and configurations

Step 1: Go to the link below download the maven file. http://www.apache.org/dyn/closer.cgi/maven/binaries/apache-maven-3.0.4-bin.tar.gz Step 2: Just extract the file and put it in the D drive or where ever you want. Step 3: Now go to the command prompt, and type mvn and you will get as follows, Because we haven’t set the maven path. Step 4: Now set the path as follows and

291 total views, no views today

» Read more