Idea start project: Process finished with exit code 0

Idea start: Process finished with exit code 0
This was checked on the Internet, and it was said that it was started with an error. It was started, but our console was just this sentence, and then the service was stopped, depressed...

At present, two solutions have been thought of:
1. If the project that has been used before has reported an error, check whether the pom has recently added any dependencies, or deleted any dependencies.
2. If it is a newly built project, report this error. Just copy the dependencies of the project/demo that can be run before! The
properties
dependencies in
the two tabs are almost the same

I created a new project without spring-boot-starter-web,
just put this in! It can start normally.

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
</dependency>

Welcome big guys to leave comments and learn together!!! Thanks!!!

===========================
Original article, reprinted with the source!

Guess you like

Origin blog.csdn.net/dayonglove2018/article/details/106924730