REST JAX-RS javax.ws.rs.ProcessingException:

后端 未结 3 1394
名媛妹妹
名媛妹妹 2021-01-02 04:54

I am getting below exception whenever my REST client code makes a call to the REST service using below code: Code:

public void putWatcher(Wa         


        
3条回答
  •  甜味超标
    2021-01-02 05:29

    Can you take a look at libraries catalogue of your JBoss instance and remove all implementations of JAX-WS? To me it seems they conflict with the Jersey you bundle in your WAR-file.

    Edit:

    Actually I guess you need to resolve JAX-WS version conflict between your server and web application. Method familyOf you are missing in Response.Status.Family was introduced in Java 7 but is missing from Java EE 6. So find Java EE 6 compatible Jersey version or upgrade the server.

    And if later Maven will cause problems, then for the real kick, there's also

    mvn dependency:tree
    

    and

    
    ...
            
                ...
    

提交回复
热议问题