原先使用2.8.8版本的jackson结果控制台报错:
java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException
原因是版本不匹配
使用2.9.8版本的jackson则问题解决
spring5要使用jackson 2.9.X的版本,低于会报错版本不匹配
原先使用2.8.8版本的jackson结果控制台报错:
java.lang.ClassNotFoundException: com.fasterxml.jackson.databind.exc.InvalidDefinitionException
原因是版本不匹配
使用2.9.8版本的jackson则问题解决
spring5要使用jackson 2.9.X的版本,低于会报错版本不匹配
转载于:https://www.cnblogs.com/zaks/p/11411858.html