springboot-maven project started error Process finished with exit code 1

In recent days at startup Maven project, occasionally errors Process finished with exit code 1 appears, showing the connection VM startup, and finally display the connection fails, then jump Process finished with exit code 1.

Today, all modules of the project are the emergence of this issue, to have the time to be resolved, first go online to find the answers according to the error message, suggesting that the tomcat can not be found in the message printed, but I was using the Springboot, with my local the tomcat does not matter.

Looking for about three hours, still no results, then try to clear the cache, restart the computer and the like, then the error actually changed, no longer prompted Process finished with exit code 1, but on Process finished with exit code 1 to find a article gave me some inspiration https://www.xttblog.com/?p=2992 , emerging in error, the misstatement is really about can not read the contents of the configuration file, but with this I article in the project structure slightly different, although not able to solve the problem accordingly, but at least have a direction.

A final settlement with the help of colleagues, and the entire project Maven reinstall once. Command is as follows, as principle, I still have not had time to study!

mvn clean install -Dmaven.test.skip=true

 

Published 24 original articles · won praise 14 · views 60000 +

Guess you like

Origin blog.csdn.net/biubiu2it/article/details/82841990