Java.lang.AbstractMethodError: javax.ws.rs.core.UriBuilder.uri(Ljava/lang/String;)Ljavax/ws/rs/core/UriBuilder;
at javax.ws.rs.core.UriBuilder.fromUri(UriBuilder.java:119)
at com.sun.jersey.spi.Container.servlet.ServletContainer.service(ServletContainer.java:669)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449)
at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365)
at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)
at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)
at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380)
at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362)
at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:237)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:167)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
Solution:
UriBuilder conflict, jersey-spring internal jar that depends on jsr311-api and jersey-container-grizzly2-http internal jar that depends on javax.ws.rs-api conflict, or javax.ws.rs-api-2.0.jar and jersey built-in ws.rs the same method conflicts, they implement different interfaces, the solution to delete one of them or open with winrar and delete one of the uriBuilder method can be
Similar Posts:
- java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path
- [Solved] Cannot call sendError() after the response has been committed
- Web Project Error: javax.servlet.ServletException: Circular view path [registerForm]
- [Solved] JSP Use MySQL database Error: java.lang.classnotfoundexception: com.mysql.jdbc.driver
- springcloud Load balancer does not have available server for client:XXXX
- [Soloved] Fastdfs Error: java.net.SocketTimeoutException: connect timed out
- java.security.cert.CertificateException: No subject alternative DNS name matching
- JavaWeb Error:java.lang.NumberFormatException: null
- Error creating bean with name ‘scopedTarget.oauth2ClientContext’: Scope ‘session’ is not active for the current thread;
- [Flowable6.4.1] [DMN] cvc-elt. 1: Declaration of element ‘definitions’ not found