I have a restore API that was working with jerseys 2.6 and swagger 1.3.7. I've read that Jersey 2.9 fixes a warning that I was getting, so I upgraded the latest jersey to 2.16, but then the swigger stopped working. I came back and upgraded one version at a time until I did not see that Swagger was working with 2.15, so I settled on that. Now, the Put API fails with the following error:
The server rejected this request because the request unit is in a format that is not supported by the requested resource of the requested resource.
The API works to use Firefox RESTClient and to specify "App / JS".
I have "jersey-media-jesen-jackson" as a dependency and "Client Client = ClientBluilder.New Client ()." JacksonFeature.class); "In the program.
I tried to upgrade Swaggar, but he did not help.
Has the ocean been verified to work with Jagatis 2.15 / 2.16?
Recently, with the issue of jersey 2.16, to work with the recent shooter They have managed to achieve the score. Keep in mind that they are using the latest version (1.5.x) and the same solution will be applied instead of 1.3.x.
Version of the problem is most likely with resolution, in particular, one of the Jackson-database. For some reason, even the Jersey-Media-JSN-Jackson 2.16 jackson-database depends on the older version, though it works fine with the latest version. Without more detail, it would be difficult to suggest a complete solution, but you can follow the dependency tree and see the conflicts there.
If you need more help, then either our mailing list, or better, IRC channels where we can talk online and solve it.
No comments:
Post a Comment