开发环境:

eclipse Build id: 20100218-1602

jdk 1.6

编译出错的关键代码

okhttp3.RequestBody body = okhttp3.RequestBody.create(contentType, param);

提示: The type okio.ByteString cannot be resolved. It is indirectly referenced from required .class files

解决:

引入  okio-1.14.0.jar (注意版本,作者已经引入了 okhttp-3.10.0.jar)

The type okio.ByteString cannot be resolved. It is indirectly referenced from required .class files相关推荐

  1. 使用okhttp3报错 The type okio.ByteString cannot be resolved. It is indirectly referenced

    编译出错的关键代码 okhttp3.RequestBody body = okhttp3.RequestBody.create(contentType, param); 提示: The type ok ...

  2. The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

    使用eclipse 创建java工程写代码时报错:The type java.lang.Object cannot be resolved. It is indirectly referenced f ...

  3. 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错误.....,查找的 ...

  4. The type java.lang.String cannot be resolved. It is indirectly referenced from required .class files

    使用sts导入工程时出现的错误,eclipse,myeclipse导入工程也会出现这个错误 原因:电脑上安装了多个版本的jdk 解决:将该项目的jdk删除 在导入的项目上右击->properti ...

  5. The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from required .cl

    启动项目的时候报错, The type java.io.ObjectInputStream cannot be resolved. It is indirectly referenced from r ...

  6. the type xxx cannot be resoved,It is indirectly referenced from required .class files错误.....

    在Eclipse中遇到The type XXX cannot be resolved. It is indirectly referenced from required .class files错误 ...

  7. Eclipse提示The **** cannot be resolved. It is indirectly referenced from required .cl

    1.问题 代码正常,提示这个错误 The **** cannot be resolved. It is indirectly referenced from required .cl 2.解决办法 把 ...

  8. 解决报错:The type java.lang.Class cannot be resolved. It is indirectly referenced from required .class f

    出错原因:有时候用Eclipse/STS导入一个外来的工程时会出现以上错误,这主要是因为你的电脑上安装了多个版本的jdk. 解决的办法是: 操作步骤: 选中出错的工程project--->pro ...

  9. eclipse中java文件报错:The type java.lang.Object cannot be resolved. It is indirectly referenced from r

    问题:The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class fi ...

最新文章

  1. livechart 只显示 y 值_基于Python语言的SEGY格式地震数据读取与显示编程
  2. 六条规则让你的ML模型部署的更快
  3. Cocos2d-x3.2 重力感应
  4. 【知识库专访】亲加CTO郝飞:直播技术架构解密与优化之道
  5. ant vue 树形菜单横向显示_Vue--组件Ant- 树形结构菜单
  6. Linux centos查看cpu信息命令
  7. 攻防世界-web-i-got-id-200-从0到1的解题历程writeup
  8. MemSQL初体验 - (3)性能测试
  9. 单E1光端机,V.35光端机,以太网光端机介绍及技术指标详解
  10. SpringBoot部署项目到Docker仓库
  11. php ckeditor 配置,Laravel5.6框架使用CKEditor5相关配置详解
  12. 友盟消息推送服务器demo,友盟消息推送总结
  13. 西门子atch指令详解_轻松记住西门子PLC指令,简单明了!
  14. [Python从零到壹] 四十二.图像处理基础篇之图像金字塔向上取样和向下取样
  15. 图解通信原理与案例分析-2:如何用电信号来表示和传输0和1,远远比我们想象的要复杂得多
  16. python-ip端口扫描器
  17. 基于Java毕业设计职业信息服务平台源码+系统+mysql+lw文档+部署软件
  18. elementUI Drawer 抽屉打开时表单自动聚焦问题解决
  19. Silk这个网站是用来在线绘制对称图形的
  20. 我的世界java版z_我的世界Java版1.16 20w12a 发布 添加下界重生锚

热门文章

  1. xenomai网卡驱动分析之一 加载和使用
  2. Android webview支持H5页面通过js实现文件上传、图片上传
  3. 优化Java动画编程中的显示效果
  4. Vue——05-02组件的数据、为什么data要使用函数、父组件给子组件传递数据的三种写法、父传子以及传两种以上的值、默认值以及父传子的引用类型
  5. 小孩发烧怎么办 - 强烈建议查看转载内容的详情,看视频介绍
  6. 超详细的--STP理论
  7. 利用Slf4j的MDC跟踪方法调用链
  8. 嵌入式Linux设备驱动程序开发指南9(平台设备驱动)——读书笔记
  9. 电脑录屏怎么把声音录进去,两招教你把声音录进去
  10. 用计算机指挥挖掘机炒菜,幽默段子:我能用计算机控制挖掘机炒菜……