At com. Inspur. Controller. Example. The main (Example. Java: 23)
Under Caused by: Java. Lang. ClassNotFoundException: org. Springframework. Boot. SpringApplication
The at java.net.URLClassLoader.findClass URLClassLoader. Java: (381)
The at Java. Lang. This. LoadClass (424). This Java:
At sun. Misc. The Launcher $AppClassLoader. LoadClass (335). The Launcher Java:
The at Java. Lang. This. LoadClass (357). This Java:
. 1 more
Written in the idea the maven package management tool springboot website quote code is also on copy the error above jdk1.8 maven inherits parent 2.1.6 mavenversion3.3.9 idea2019 should not lack of dependence but couldn't find springapplication
CodePudding user response:
If rely on no problem and no change maven local path, you try to enter C: \ Users \ \ Administrator \. M2/repository/org, the whole springframework package to delete, and update the maven project again,CodePudding user response:
Local repository is deleted to update also doesn't workCodePudding user response:
It is dependent on the problem you see your jar is there inside the classCodePudding user response:
And see if it is version problemhttps://blog.csdn.net/anxpp/article/details/52444239
Open the maven local repository, screenshots org/springframework/boot/look at this directory