找不到类异常 java.lang.NoClassDefFoundError com/fasterxml/jackson/databind/ObjectMapper 这种问题查看异常后的类,添加对应的jar添加上就好了。 缺少一个 jar 包,该 jar 包为:jackson-databind