The type object cannot be resolved. It is indirectly referenced from required .class files
来源:互联网 发布:作品集 知乎 编辑:程序博客网 时间:2024/06/06 03:34
最近在开发的时候遇到了一个问题,工程A在调用第三方工程B的接口时出现如题错误(eclipse)
网上一部分人的说法是jdk版本的问题,但是本人换了jdk之后并没有解决问题,只能自己找解决方法。
检查到该接口的工程已经添加到调用方的工程依赖里面了,但是为什么还会提示出错呢?于是乎进入该接口查看,原来是该接口继承了另外工程C的接口,而现在的工程A中知识添加了工程B依赖,没有添加工程C依赖,于是乎在A中添加C依赖之后,问题得以解决。
添加依赖的方法是:右键工程名-->propertites-->Deployment Assembly-->add-->project-->选择工程确定应用即可
阅读全文
1 0
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved.It is indirectly referenced from required .class files。
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files
- 2017第十二届中国(上海)国际袜业采购交易会会刊(参展商名录)
- Android签名控件 GoodSignView
- 第三章 线性表
- 如何在README.md文件中添加图片
- [vijos1235]天堂的馈赠
- The type object cannot be resolved. It is indirectly referenced from required .class files
- 关于mysql delete语句中的别名使用
- 第八周(1)项目3---顺序串算法
- 太用力的人跑不远
- 【第八周(2)项目1】猴子选大王(数组版)
- QT实现CSDN上传资源管理助手Demo之(2)模拟登录CSDN网站
- CRI-O 1.0 来了!
- 常见错误汇总
- iOS中的单例模式