Hi guys, I have a problem! I'm trying start a jetty6x embedded with the maven using the cargo-maven2-plugin, but, when i execute the command: mvn cargo:start , it throw a exception:
[INFO] Trace org.codehaus.cargo.container.ContainerException: Failed to start the Jetty 6.x Embedded container. at org.codehaus.cargo.container.spi.AbstractLocalContainer.start(AbstractLocalContainer.java:168) ... Caused by: org.codehaus.cargo.container.ContainerException: Failed to create Jetty Server instance at org.codehaus.cargo.container.jetty.internal.AbstractJettyEmbeddedLocalContainer.createServerObject(AbstractJettyEmbeddedLocalContainer.java:78) .... Caused by: java.lang.ClassNotFoundException: org.mortbay.jetty.Server at java.net.URLClassLoader$1.run(URLClassLoader.java:202) My configuration in the pom.xml contains: <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <version>1.0</version> <configuration> <container> <containerId>jetty6x</containerId> <type>embedded</type> </container> </configuration> </plugin> Anyone know what's the problem? att, -- Everton Cardoso http://vertocardoso.wordpress.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
