Skip to Main Content

weblogic error java.lang.NoSuchMethodError: com.sun.jersey.spi.container.servlet.ServletContainer.<

User_UM8AVJul 15 2021 — edited Jul 15 2021

I developed custom restful API's using Jdeveloper 12.2.1.2 and I deployed my application in WLS 12.2.1.2 successfully . Now we have new requirement which need to deploy the application in the latest WLS 12.2.1.4.0 but when I tried to deploy I face the below error when starting the deployment :
Error java.lang.NoSuchMethodError: com.sun.jersey.spi.container.servlet.ServletContainer.<init>(Ljavax/ws/rs/core/Application;)V
Please any advise to resolve this issue?
I'm using JDeveloper's default build tool and it's build in JAX-RS Jersey 2.x

Comments
Post Details