在写SSM项目中,碰到的错误nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefini看到servlet.init去网上搜,各种稀奇古怪的错误,看日志又以为是数据源配错了,最后还是看到了
nested exception is java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/exc/InvalidDefini
才知道是spring5.0.2和jackson2.8不兼容;把jackson换成2.9就可以了

相关文章: