Characteristics not acceptable according to the request accept headers

Characteristics not acceptable according to the request accept headers

The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request “accept” headers

If you see above exception while working with Spring MVC application and annotation based response it means you configuration file is missing annotation driven schema and tag. In my case below configuration was giving exception:

Solution: I added MVC schema and tag below to fix the issue:

  • For more information about web MVC framework please visit this link

Leave a Reply

Your email address will not be published. Required fields are marked *