Springboot project startup error

Today, when the little master built the springcloud project by himself, because it was a startup class file that was automatically generated by himself, the result was an error after startup.Because the startup of 错误: 找不到或无法加载主类 com.simon.customerdemo.CustomerDemoApplication
this startup class is related to the web-start jar package, I went to my pom file and back and forth I imported this package four or five times.I always thought that my package was not downloaded.Later, when I found my local jar package, the
simon
result showed that the package was downloaded, and then I went to Baidu.There are many strange ways on Baidu. It doesn't work after all, there is no way to re-import it, this is useless, **

Later, the little master has no choice but to clean and install the maven package

The result was successful. I want to see later that the jar package was wrong or conflicted during import. In this case, you need to re-import and package it! Hope it is useful to you!

Published 34 original articles · won praise 0 · Views 3634

Guess you like

Origin blog.csdn.net/qq_43469899/article/details/104583675