• 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

  • 相关阅读:
    自动生成接口文档
    Haystack全文搜索
    redis操作
    缓存及跨域问题
    url控制器、解析器、响应器、分页器
    频率组件
    序列化、认证、权限、视图回顾
    认证、权限、视图组件
    序列化组件
    Rest Framework
  • 原文地址:https://www.cnblogs.com/williamjie/p/9242333.html
Copyright © 2020-2023  润新知