Do you already have something running on port 8080? You could try changing the default Jetty port to something else:
http://andyhot.di.uoa.gr/blojsom/blog/default/java/2007/01/12/Controlling-Jetty-port-in-Maven-2.html You could also try running "mvn cargo:start -Dcargo.wait=true". Matt On 2/14/07, jamdiazdiaz <[EMAIL PROTECTED]> wrote:
Hello friends. I have the same problem, this is my log: [INFO] Starting jetty null ... 2007-02-14 10:31:59.781::INFO: jetty-6.0.x 2007-02-14 10:32:11.515::INFO: Extract jar:file:/C:/appfuse/elias/target/elias- 1.0-SNAPSHOT.war!/ to C:\appfuse\elias\target\work\webapp 2007-02-14 10:32:52.859::WARN: failed [EMAIL PROTECTED]/,file:/C:/appfuse /elias/target/work/webapp/} 2007-02-14 10:32:52.859::WARN: failed [EMAIL PROTECTED] 2007-02-14 10:32:52.859::WARN: failed [EMAIL PROTECTED] 2007-02-14 10:32:52.890::INFO: Started SelectChannelConnector @ 0.0.0.0:8080 2007-02-14 10:32:52.890::WARN: failed [EMAIL PROTECTED] [INFO] Jetty server exiting. [INFO] ------------------------------------------------------------------------ [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ [INFO] null org/apache/log4j/Category What is the problem? help me Jose From Peru Fan wrote: > > I had successfully run "mvn integration-test" with the following info: > > run-all-tests: > [INFO] Executed tasks > [INFO] > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > ------------------------------------------------------------------------ > [INFO] AppFuse Modular Application ........................... SUCCESS > [1.610s] > [INFO] AppFuse Modular Application - Core .................... SUCCESS > [6.000s] > [INFO] AppFuse Modular Application - Web (Struts 2) .......... SUCCESS > [1:19.344 > s] > [INFO] > ------------------------------------------------------------------------ > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESSFUL > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 1 minute 27 seconds > [INFO] Finished at: Sun Jan 28 23:42:26 SGT 2007 > [INFO] Final Memory: 37M/63M > [INFO] > ------------------------------------------------------------------------ > > > > But when I ran "mvn jetty:run-war", it hit the following error: > > [INFO] Scanning for projects... > [INFO] Reactor build order: > [INFO] AppFuse Modular Application > [INFO] AppFuse Modular Application - Core > [INFO] AppFuse Modular Application - Web (Struts 2) > [INFO] Searching repository for plugin with prefix: 'jetty'. > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does not > exist o > r no valid version could be found > [INFO] > ------------------------------------------------------------------------ > [INFO] For more information, run Maven with the -e switch > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: < 1 second > [INFO] Finished at: Sun Jan 28 23:43:35 SGT 2007 > [INFO] Final Memory: 1M/3M > [INFO] > ------------------------------------------------------------------------ > -- View this message in context: http://www.nabble.com/mvn-jetty%3Arun-war-tf3131555s2369.html#a8967327 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
-- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]