spring maven工程package报错

    xiaoxiao2021-03-26  51

    导入学习项目,其中一个class文件package报错,提示config jre,删除jre后错误消失,添加jre后错误又出现,更换jdk版本也无效

    删除该class,与该class管理的类不仅报相应的错,而且package也报此错

    仔细看提示:

    The type org.springframework.core.NestedRuntimeException cannot be resolved. It is indirectly referenced from required .class files

    两句重复的这句话提示,从网上搜索,均说是spring core包引起的

    查看maven依赖环境里面,有spring core包,本地maven仓库也有对应的jar包。点击class,看不到源码  提示xxxxxxxxxxxxxxxxxx(bad signature)

    删除本地仓库对应的spring core文件夹下的所有文件,update maven工程,问题解决

    转载请注明原文地址: https://ju.6miu.com/read-600363.html

    最新回复(0)