zoukankan      html  css  js  c++  java
  • Spring Boot

    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

  • 相关阅读:
    P1171 售货员的难题--搜索(剪枝)
    逆元-P3811 【模板】乘法逆元-洛谷luogu
    gcd和exgcd和lcm
    递推
    Docker hello workd
    Docker配置文件详解
    Centos7变动
    centos7安装docker
    nginx性能调优
    nginx相关
  • 原文地址:https://www.cnblogs.com/williamjie/p/9242333.html
Copyright © 2011-2022 走看看