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

前端 未结 5 880
孤独总比滥情好
孤独总比滥情好 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:54

    I solved this problem using tomcat configuration in pom.xml

    First go to tomcat folder and open cmd in bin my path is :

    C:\Program Files\Apache Software Foundation\Tomcat 8.5\bin>

    get tomcat version using this command

    C:\Program Files\Apache Software Foundation\Tomcat 8.5\bin>catalina.sh version

    After this add this in pom.xml

    
            1.8
            8.5.43
    
    

提交回复
热议问题