Errors$ErrorMessagesException when using Jersey in Java

后端 未结 4 864
悲哀的现实
悲哀的现实 2021-01-18 17:05

I am using Jersy to develeop REST webservices, this is my simple code:

@GET
@Path(\"/retrieveCustomerInformation/{jsonString}\")
@Produces(MediaType.APPLICAT         


        
4条回答
  •  遇见更好的自我
    2021-01-18 17:59

    One more use-case, which causes the same exception, which broke my code. If you were to write the resource like this:

    public String getPOST(@QueryParam("type") Character type){}
    

    the following data type, Character, will cause the exception.

提交回复
热议问题