The type XXX cannot be resolved. It is indirectly referenced from required .class files错误.....

 遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误.....,查找的解决办法如下:

一: 错误提示: It is indirectly referenced from required .class file 错误的解决

原因:你导入得jar依赖另一个jar

解决方法:导入缺失的包

原文地址:https://www.cnblogs.com/fatfatdachao/p/4666844.html