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 and I deployed my application in WLS successfully . Now we have new requirement which need to deploy the application in the latest WLS 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

Post Details