java - Can't run a simple project (Maven - Spring - Eclipse) -
i'm new maven , spring , i'm trying utilize both eclipse next tutorial. created simple webapp project maven , made suitable eclipse. after import of project i'm not able lunch it. eclipse not recognizing errors in code. knows why?
my actual version of eclipse 3.8. actual version of maven 3.0.5. os ubuntu 14.04. lunch next command terminal:
mvn archetype:generate -dgroupid=aevgui -dartifactid=gaev -darchetypeartifactid=maven-archetype-webapp -dinteractivemode=false then add together next lines pom:
<dependency> <groupid>org.springframework</groupid> <artifactid>spring-webmvc</artifactid> <version>4.1.1.release</version> </dependency> then terminal:
mvn eclipse:eclipse and on 1 of tries used this:
mvn -declipse.workspace=/home/dario/workspace eclipse:add-maven-repo now i'm able import project eclipse straight import project not work. more clear: "does not work" means eclipse not compiling code, not recognize new classes , errors in it, if add together main method i'm not able lunch because eclipse can't find it.
what can do? give thanks you.
as alternative, consider whole process straight eclipse? , help (spring integration eclipse), consider utilize http://spring.io/tools/sts
java eclipse spring maven
No comments:
Post a Comment