406 Spring MVC Json, not acceptable according to the request “accept” headers

后端 未结 6 720
攒了一身酷
攒了一身酷 2020-12-05 19:39

have following details in my pom.xml

    
        org.codehaus.jackson
        jackson-cor         


        
6条回答
  •  时光说笑
    2020-12-05 20:25

    Thanks it solved my issue. I finally ended up with a pom.xml like this:

    
        
            org.codehaus.jackson
            jackson-mapper-asl
            1.9.13
        
        
            com.fasterxml.jackson.core
            jackson-core
            2.4.1
        
        
            com.fasterxml.jackson.core
            jackson-databind
            2.4.1.1
        
        
    

提交回复
热议问题