Getting root cause java.lang.AbstractMethodError while using Jersey ContainerRequestFilter

前端 未结 3 920
抹茶落季
抹茶落季 2021-01-14 16:28
INFO: Server startup in 6705 ms
Nov 29, 2013 6:17:38 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet [JerseyServlet] in         


        
3条回答
  •  耶瑟儿~
    2021-01-14 16:45

    It seems that you're using Jersey 1.x (JAX-RS 1.1 implementation) with JAX-RS 2.0 APIs. In your application either switch to Jersey 2 (recommended) or replace JAX-RS 2.0 API jar with JAX-RS 1.1 API jar (it's already part of the jersey-common so removing 2.0 API should be sufficient).

提交回复
热议问题