com.fasterxml.jackson.core版本问题,更新最新版本即可。

I had the same problem, it seems that:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <version>2.9.0</version>
</dependency>

had dependency to jackson-annotations in version 2.8.0 which crashed somehow with my other jackson dependencies.

after modifying the dependency as follows:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-databind</artifactId>
    <exclusions>
        <exclusion>
            <groupId>com.fasterxml.jackson.core</groupId>
            <artifactId>jackson-annotations</artifactId>
        </exclusion>
    </exclusions>
</dependency>

and adding explicit dependency on:

<dependency>
    <groupId>com.fasterxml.jackson.core</groupId>
    <artifactId>jackson-annotations</artifactId>
    <version>2.9.0</version>
</dependency>

problem was solved for me :)

https://stackoverflow.com/questions/43701983/spring-boot-cant-start-with-embedded-tomcat-error

相关文章:

  • 2022-02-11
  • 2022-12-23
  • 2021-09-21
  • 2022-12-23
  • 2021-07-26
  • 2021-07-14
  • 2022-12-23
猜你喜欢
  • 2021-04-20
  • 2022-01-15
  • 2021-04-02
  • 2021-09-30
  • 2021-10-15
  • 2021-08-29
相关资源
相似解决方案