0

I Trying to deploy Rest Services in IBM WAS.But it is showing

java.lang.NoClassDefFoundError: com.sun.jersey.core.header.MediaTypes (initialization failure)

I am Using following jar enter image description here

Please help to debug issue

  • WebSphere provides JAX-RS runtime, so you need to remove Jersey jars from your application and either use built in (Apache Wink) or configure third party provider as described here [Using Jersey with WAS](http://stackoverflow.com/a/24713878/3701228) – Gas Mar 18 '15 at 16:34
  • Sorry if i am wrong.I tried to deploy same application in other WAS with same version it is working fine. – Manwear Raj Mar 18 '15 at 17:05
  • If you know better and have other working environment, then copy configuration from that environment. – Gas Mar 18 '15 at 22:10

0 Answers0