Spring's Json not being resolved with appropriate response

前端 未结 8 2055
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-03 11:12

I\'ve tried to have a controller in Spring return a JSON response to no avail using the Jackson classes as recommended with 3.0. I\'ve got the jackson jar files(jackson-core

8条回答
  •  一生所求
    2020-12-03 12:06

    May be my answer is a bit late, but it may help some one else visiting this question.

    I got my problem resolved by adding

     hibernate-validator-4.0.2 
    

    and gave me another exception (class not found exception: org.slf4j.LoggerFactory) which i resolved by adding

    slf4j-api-1.5.6.jar
    

    I hope it will help someone.

提交回复
热议问题