I\'ve been getting a very strange error when trying to start a Jersey app on Tomcat. The same code works on other computers. I tried reinstalling tomcat, all my maven depend
We are using jersey-json 1.9 which has a dependency on jersey-core which also happen to have a javax.ws.rs.core.Application class.
jersey-json
jersey-core
javax.ws.rs.core.Application
So our fix is to exclude the jersey-core from jersey-json:
com.sun.jersey jersey-json 1.9 com.sun.jersey jersey-core