Spring Boot - can't start with embedded tomcat error

后端 未结 4 1292
执笔经年
执笔经年 2021-02-20 04:18

pom.xml

    
        org.springframework.boot
        spring-boot-starter-parent         


        
4条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-20 04:54

    Add this dependency to your pom.xml.

    
        com.fasterxml.jackson.core
        jackson-databind
    
    

    Tomcat dependency (spring-boot-starter-tomcat) is not required as it is already inbuilt with "spring-boot-starter-web"

提交回复
热议问题