Home > Back-end >  Springboot runtime, tip error: can't find or unable to load the main class of the jar
Springboot runtime, tip error: can't find or unable to load the main class of the jar

Time:01-27

The IDEA to start the test is no problem, packaging all the success, is running in the CMD command execution Java jar springboot. Jar will prompt error message! Each great god how be to return a responsibility excuse me

CodePudding user response:

In addition to playing the jar may put the main class is wrong and wrong jar is caused by point didn't pay attention to the hope useful to you

CodePudding user response:

In front of the jar is a rung, beat him like you just put the jar as a Java file to perform the

Java - jar XXX. The jar

CodePudding user response:

Application to see you

CodePudding user response:





Start




Add this tag mainClass maven pom corresponding you start classes

CodePudding user response:

reference o f's reply:
jar in front of a rung, you play so he put the jar as a Java file to perform the

Java - jar XXX. Jar


Also really, thank you!

CodePudding user response:

Still have a kind of situation, the pit dad, is the jar package version is wrong!
  • Related