Home > Back-end > Why idea run springboot project Process finished with exit code 0
Why idea run springboot project Process finished with exit code 0
Time:12-30
With the idea for the first time to write springboot project, run don't know why to Process finished with exit code 0 In the baidu search a lot of methods, but can't, Said many of them are the dependent on comments: Org. Springframework. Boot Spring - the boot - starter - tomcat Provided
Comments but I still won't do, is there any bosses know how to solve
CodePudding user response:
Aye? This is not the end of the normal program print statements, code 1 is abnormal situation, like System. Exit (0) this
CodePudding user response:
The scope that line commented out, provided annotation dependency is only in for compilation and testing of dependence, will fail at run time, if you use the main method is directly in the IDE to run the project, provided means there won't be a tomcat server is started, the project not come naturally,