Spring 4.1.0 fix the HTTP 406 error „characteristics not acceptable according to the request ”accept“ headers ()“

I have a application which uses Spring MVC to build RESTful web-services.

These web-services return JSON objects as response with header „application/json“.

Everything works perfect until I upgraded to the Spring 4.1.0.RELEASE

Spring-Framework-Logo

[wp_ad_camp_1]

Solution

I didn’t found any appropriate solutions on the internet.

It helped me downgrade Spring version to the 4.0.5.RELEASE

[wp_ad_camp_1]

Napsat komentář

Vaše emailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *