Exception in thread "main" java.lang.Error: Unresolved compilation problem:
SpringApplication cannot be resolved
at com.java456.Hero300Application.main(Hero300Application.java:10)
解决办法1:
点击项目右键-->Properties-->Java Compiler-->Building-->Enable project specific settings-->Build path problems-->选中Abort Incomplete build path/Circular dependencies 这两选项修改为Warning,然后保存即可。
查看jar包 是否有问题。我发现jar有破损,就是标红。
重新删除maven仓库的jar包。再下载jar
站长微信:xiaomao0055
站长QQ:14496453