It is indirectly referenced from required .class file异常


环境:maven项目。

突然出现异常,显示某个类无法引用,It is indirectly referenced from required .class file异常,通过跟踪到这个类,发现无法点击查看这个类,报:java.util.zip.ZipException: invalid LOC header (bad signature)。

解决办法,删除本地仓库对应的jar包重新下载,即可!

你可能感兴趣的:(It is indirectly referenced from required .class file异常)