是"xmlparserv2"吗?来自"com.oracle.jdbc:ojdbc8" (v12.2.0.1)突然腐败了吗? [英] Is "xmlparserv2" from "com.oracle.jdbc:ojdbc8" (v12.2.0.1) all of a sudden corrupt?

查看:96
本文介绍了是"xmlparserv2"吗?来自"com.oracle.jdbc:ojdbc8" (v12.2.0.1)突然腐败了吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的gradle.build文件中有一个oracle maven依赖项.一切都很好.然后我清除了缓存.

I have an oracle maven dependency in my gradle.build file. Everything was working fine. Then I cleared my cache.

现在有了这种依赖关系

compile('com.oracle.jdbc:ojdbc8:12.2.0.1')

给我这个错误

error: error reading /root/.gradle/caches/modules-2/files-2.1/com.oracle.jdbc/xmlparserv2/12.2.0.1/90c56300a160a184263c45f4d1ffa126216313a1/xmlparserv2-12.2.0.1.jar; error in opening zip file 
error: error reading /root/.gradle/caches/modules-2/files-2.1/com.oracle.jdbc/xmlparserv2/12.2.0.1/90c56300a160a184263c45f4d1ffa126216313a1/xmlparserv2-12.2.0.1.jar; error in opening zip file

这是怎么回事? Oracle是否用损坏的版本覆盖了现有文件?但更重要的是-我现在该怎么办?

What is going on? Did Oracle overwrite an existing file with a corrupted version? But more importantly - what do I do now?

推荐答案

我在我的CI版本中遇到了这个问题 解决方案是删除依赖项:

I came across this problem in my CI build The solution was to remove the dependency:

compile(group: 'com.oracle.jdbc', name: 'ojdbc8', version: '12.2.0.1') {
    exclude module: 'xmlparserv2'
}

P.S在删除此代码后我没有遇到任何问题./

P.S I've run into no problems after removing this./

这篇关于是"xmlparserv2"吗?来自"com.oracle.jdbc:ojdbc8" (v12.2.0.1)突然腐败了吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆