Ich versuche, meine Webapplikation mit Maven und seine tomcat-Plugin zu installieren und auszuführen.mvn tomcat: run nicht startet Tomcat
Ich habe es gesetzt in Projekt pom.xml, aber wenn ich es von der Kommandozeile bin Aufruf:
mvn tomcat:run
alles, was ich bekommen ist:
[[email protected] trunk]# mvn -e tomcat:run
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Unnamed - com.gotbrains.breeze:breeze:jar:1.0
[INFO] task-segment: [tomcat:run]
[INFO] ------------------------------------------------------------------------
[INFO] Preparing tomcat:run
[INFO] [resources:resources {execution: default-resources}]
[WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] skip non existing resourceDirectory /root/trunk/src/main/resources
[INFO] [compiler:compile {execution: default-compile}]
[INFO] Nothing to compile - all classes are up to date
[INFO] [tomcat:run {execution: default-cli}]
[INFO] Skipping non-war project
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24 seconds
[INFO] Finished at: Thu Jul 23 14:34:31 MDT 2009
[INFO] Final Memory: 7M/14M
[INFO] ------------------------------------------------------------------------
Und das ist alles. Tomcat wurde nicht gestartet, aber ich sehe hier keine Fehler.
Hat jemand weiß, was passiert ist?
Nicht hilfreich Antwort . Scrollen Sie nach unten, um die einfache Option pom.xml hinzuzufügen und das Problem zu beheben. –