IntelliJ Process finished with exit code 0 when spring-boot run

前端 未结 5 1380
暖寄归人
暖寄归人 2020-12-29 18:44

I have a problem when starting spring-boot appication from IntelliJ-Idea. I don\'t have this problem when running application through terminal.

:: Spring Boo         


        
5条回答
  •  执笔经年
    2020-12-29 19:10

    Add the below dependencies in pom.xml :

     
                org.springframework.boot
                spring-boot-starter
            
            
                org.springframework.boot
                spring-boot-starter-test
                test
            
            
                org.springframework.boot
                spring-boot-starter-tomcat
            
            
                org.springframework.boot
                spring-boot-starter-web
                test
            
    

提交回复
热议问题