@ResponseBody响应JSON 406

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

406错误

pom加上   注意本机上的版本号


			
				com.fasterxml.jackson.core
				jackson-core
				2.4.2
			
			
				com.fasterxml.jackson.core
				jackson-databind
				2.4.2
			
			
				com.fasterxml.jackson.core
				jackson-annotations
				2.4.0
			

你可能感兴趣的:(java)