users@jersey.java.net

Re: [Jersey] Re: problem running Jersey webapp to Tomcat 6.0.20

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Tue, 02 Feb 2010 18:30:15 +0100

Hi Naveen,

I am still not sure why an earlier version of Jersey is getting picked
up.

Can you list the contents of the war WEB-INF/lib ?

Paul.

On Feb 2, 2010, at 6:18 PM, naveenmv wrote:

>
> Hi Paul,
>
> I am using the eclipse-jetty maven plugin. After compiling and
> successfully
> unit testing the project which builds a war, the war is deployed
> into Jetty
> running within Maven.
>
> The plugin snippet in the pom.xml is
>
> <plugin>
> <groupId>org.mortbay.jetty</groupId>
> <artifactId>maven-jetty-plugin</artifactId>
> <version>6.1.14</version>
> <configuration>
>
> <classesDirectory>target/classes</classesDirecto
> ry>
>
>
> <web-app>target/deployment-0-1.SNAPSHOT.war</web
> -app>
> <connectors>
> <connector
> implementation="org.mortbay.jetty.nio.SelectC
> hannelConnector">
> <port>8080</port>
> </connector>
> </connectors>
>
> <scanIntervalSeconds>10</scanIntervalSeconds>
> <stopKey>foo</stopKey>
> <stopPort>9999</stopPort>
>
> </configuration>
> <executions>
> <execution>
> <id>start-jetty</id>
> <phase>pre-integration-test</phase>
> <goals>
> <goal>run-war</goal>
> </goals>
> <configuration>
> <scanIntervalSeconds>0</
> scanIntervalSeconds>
> <daemon>true</daemon>
> </configuration>
> </execution>
>
> more information about the plugin can be found at
> http://mojo.codehaus.org/jetty-maven-plugin/.
>
> Let me know if you need more information.
>
> Regards,
> Naveen
>
> --
> View this message in context: http://n2.nabble.com/problem-running-Jersey-webapp-to-Tomcat-6-0-20-tp4385548p4502088.html
> Sent from the Jersey mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_jersey.dev.java.net
> For additional commands, e-mail: users-help_at_jersey.dev.java.net
>