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

后端 未结 3 1383
名媛妹妹
名媛妹妹 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:34

    I encountered a similar error. "java.lang.NoSuchMethodError: javax/ws/rs/ClientErrorException.validate(Ljavax/ws/rs/core/Response;Ljavax/ws/rs/core/Response$Status$Family;"

    Root cause: web service performance tester invoke the web service using script without passing in correct request body. missing a "/" in the path url of web service call is another case.

    when you see this validation error, that means some major error already happened, this noSuchMethodError is only a minor byproduct when handling the major error.

提交回复
热议问题