A message body writer for Java type, class myPackage.B, and MIME media type, application/octet-stream, was not found

后端 未结 10 1450

I am new at RESTful webservices and was trying to update my @OneToMany relationship from a standalone client application, but I am not able to do that. I am usi

10条回答
  •  心在旅途
    2020-11-29 07:17

    This can also happen if you've recently upgraded Ant. I was using Ant 1.8.4 on a project, and upgraded Ant to 1.9.4, and started to get this error when building a fat jar using Ant.

    The solution for me was to downgrade back to Ant 1.8.4 for the command line and Eclipse using the process detailed here

提交回复
热议问题