springboot运行时jackson.databind.Moudel.getTypeId()方法不存在

在liunx服务器上运行打包好的springboot的jar包(windows上运行正常),报如下错误

2020-08-14 20:10:44.783 ERROR 32135 --- [           main] o.s.b.web.embedded.tomcat.TomcatStarter  : Error starting Tomcat context. Exception: org.springframework.beans.factory.BeanCreationException. Message: Error creating bean with name 'formContentFilter' defined in class path resource [org/springframework/boot/autoconfigure/web/servlet/WebMvcAutoConfiguration.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.boot.web.servlet.filter.OrderedFormContentFilter]: Factory method 'formContentFilter' threw exception; nested exception is java.lang.NoSuchMethodError: com.fasterxml.jackson.databind.Module.getTypeId()Ljava/lang/Object;
2020-08-14 20:10:44.900  INFO 32135 --- [           main] o.apache.catalina.core.StandardService   : Stopping service [Tomcat]
2020-08-14 20:10:44.943  WARN 32135 --- [           main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is org.springframework.boot.web.server.WebServerException: Unable to start embedded Tomcat
2020-08-14 20:10:44.982  INFO 32135 --- [           main] ConditionEvaluationReportLoggingListener :

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-08-14 20:10:44.997 ERROR 32135 --- [           main] o.s.b.d.LoggingFailureAnalysisReporter   :

***************************
APPLICATION FAILED TO START
***************************

Description:

An attempt was made to call a method that does not exist. The attempt was made from the following location:

    org.springframework.http.converter.json.Jackson2ObjectMapperBuilder.registerWellKnownModulesIfAvailable(Jackson2ObjectMapperBuilder.java:796)

The following method did not exist:

    com.fasterxml.jackson.databind.Module.getTypeId()Ljava/lang/Object;

The method's class, com.fasterxml.jackson.databind.Module, is available from the following locations:

    jar:file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre/lib/ext/jackson-databind-2.2.3.jar!/com/fasterxml/jackson/databind/Module.class
    jar:file:/root/springboot-0.0.1-SNAPSHOT.jar!/BOOT-INF/lib/jackson-databind-2.10.0.jar!/com/fasterxml/jackson/databind/Module.class

The class hierarchy was loaded from the following locations:

    com.fasterxml.jackson.databind.Module: file:/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre/lib/ext/jackson-databind-2.2.3.jar


Action:

Correct the classpath of your application so that it contains a single, compatible version of com.fasterxml.jackson.databind.Module

信息显示

The following method did not exist:

    com.fasterxml.jackson.databind.Module.getTypeId()Ljava/lang/Object;

jackson.databind.Moudel.getTypeId()方法不存在,maven引用的jackson包信息如下
图片说明
是我jackson-databind的版本问题吗?我试过其他几个版本,没有解决问题。

解决了吗 老哥

https://blog.csdn.net/LFfootprint/article/details/90722940