[SpringMVC] 解决The resource identified by this request is only capable of generating responses with characteristics not acceptable according to the request accept headers.
解决方法如下:
在pom.xml文件中添加json所需要的依赖
123456789101112131415161718<!--json所需要的依赖--><dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-core&...
阅读全文…