Spring 4 RestController JSON: characteristics not acceptable according to the request “accept” headers
问题 I am using spring 4.1.1.RELEASE and have included: jackson-core-asl 1.9.13 and jackson-mapper-asl 1.9.13 in pom to create a simple app with a RestController. Here is the repo: https://github.com/robikshrestha/samplespringrest.git Here is the failing war: https://github.com/robikshrestha/samplespringrest/tree/master/failingWar pom.xml: <?xml version=\"1.0\" encoding=\"UTF-8\"?> <project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi