+-

如何解决这个错误?
“The type java.util.Map$Entry cannot be resolved. It is indirectly referenced from required .class files”
我确实找到了以下解释,以解释该消息的含义是很有帮助的:
“That error means you have some unresolved dependency, i.e. one of those jar files depends on some other jar file that you have not added to your classpath.”
最佳答案
解决方案是在主项目pom.xml文件中更新我的maven依赖项.我进行了以下更改,问题消失了.
aspectj-maven-plugin 1.5 -> 1.7
maven-compiler-plugin 3.0 -> 3.3
aspectjweaver to 1.7.3 -> 1.8.6
因此,发现是当您遇到此类错误时,请确保所有依赖项都是最新的
点击查看更多相关文章
转载注明原文:“类型java.util.Map $Entry无法解析.从所需的.class文件间接引用” - 乐贴网