I’m trying to use Jersey to create REST services using tomcat as a container. I’m struggling to figure out what the maven artifacts are.
I’d like to use the jersey servlet to serve manage my service.
<dependencies>
...
<dependency>
<groupId>com.sun.jersey</groupId>
<artifactId>jersey-project</artifactId>
<version>1.11</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven-repos</id>
<name>Glassfish Repos</name>
<url> http://maven.java.net</url>
</repository>
</repositories>
Just getting invalid checksum errors, etc…
ref: jersey user-guide, Chapter 11. Dependencies
artifactId should be ‘jersey-server’, not ‘jersey-project’.
the following dependency is ok to me.