Hello,
I have a little issue about first example from spring documentation. Dependency Injection. I downloaded project (http://svn.springbyexample.org/core/...on/tags/1.0.1/ basic-dependency-injection) and import it in eclipse. In eclipse I have installed M2Eclipse and configured Tomcat 6 server.
Now I run maven clean, package, install ant when I try to run project (mvn tomcat:run) eclipse print me message:
And application is not started, what am I doing wrong, how to run this example?Code:[INFO] --- tomcat-maven-plugin:1.0-beta-1:run (default-cli) @ basic-dependency-injection --- [INFO] Skipping non-war project [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 5.159s [INFO] Finished at: Sun Apr 25 14:03:51 CEST 2010 [INFO] Final Memory: 5M/16M [INFO] ------------------------------------------------------------------------
PS
Ok, I understand that this project create *.jar and not *.war but I still don't know how to run this application?


Reply With Quote