Failed to start component [StandardEngine[Tomcat].StandardHost[localhost].TomcatEmbeddedContext[]]

前端 未结 5 879
孤独总比滥情好
孤独总比滥情好 2021-02-14 15:32

I am trying to build a SpringBoot application.

 import org.springframework.boot.SpringApplication;
 import org.springframework.boot.autoconfigure.SpringBootAppli         


        
5条回答
  •  不知归路
    2021-02-14 15:46

    Looks like you have an incompatible version of Servlet API in ur classpath. This could have been as a dependencies to Jersey jars. Try pulling jersey starter from Spring boot starters.

    org.springframework.boot : spring-boot-starter-jersey
    

    This will bring the right version into your classpath.

提交回复
热议问题