Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Error: Could not find or load main class com.build.test.Application

Error: Could not find or load main class com.build.test.Application
Caused by: java.lang.ClassNotFoundException: com.build.test.Application

That’s it. The program worked, then I updated the program to a new dependice at Spring boot and then it stopped working.
I restarted the update and tried the old version, nothing worked.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Try reinstalling maven.

If you update a dependency, you may need to reinstall maven as well.

mvn install

Or look there it is well described
What does "Could not find or load main class" mean?

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading