Re: cargo-maven2-plugin, java.lang.ClassNotFoundException: org.mortbay.jetty.Server

2010-05-25 Thread Everton Cardoso
Hi guys,

I was looked the maven-jetty-plugin and i discovered that it was possible
running in daemon mode. That it solves my problem already that i want to
start the jetty before of execute the integration tests.

[...]

start-jetty
pre-integration-test

run


   true


[...]

On Tue, May 25, 2010 at 1:06 PM, Everton Cardoso wrote:

> 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:
>
> 
> org.codehaus.cargo
> cargo-maven2-plugin
> 1.0
> 
> 
> jetty6x
> embedded
> 
> 
> 
>
>
> Anyone know what's the problem?
>
> att,
>
> --
> Everton Cardoso
> http://vertocardoso.wordpress.com
>

att,

-- 
Everton Cardoso
http://vertocardoso.wordpress.com


cargo-maven2-plugin, java.lang.ClassNotFoundException: org.mortbay.jetty.Server

2010-05-25 Thread Everton Cardoso
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:


org.codehaus.cargo
cargo-maven2-plugin
1.0


jetty6x
embedded





Anyone know what's the problem?

att,

-- 
Everton Cardoso
http://vertocardoso.wordpress.com

-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org