Error:Could not download ecj.jar : No cached version available for offline mode

简介: Error:Could not download ecj.jar : No cached version available for offline mode

最近重新打开老项目时,发现要配置一些东西,结果半天没有配置完,我寻思是网络问题,然后就换了一个网络,然后就报错了。错误如下


Error:Could not download ecj.jar (org.eclipse.jdt.core.compiler:ecj:4.4): No cached version available for offline mode


翻译出来的结果是

错误:无法下载ecj.jar(org.eclipse.jdt.core.compiler:ecj:4.4):离线模式没有可用的缓存版本。


怎么解决呢?

File → Settings…


202007271637445.png

20200727163956263.png


取消Offline work勾选,然后Apply,回到自己的项目页面,然后Try Again,或者点击下面这个图标就会开始用网络下载依赖库了。


20200727164220193.png


OK,因为遇到这个问题,所以记录一下。


相关文章
|
4月前
|
Java Linux Shell
【Azure 应用服务】部署Jar到App Service for Linux,因启动命令路径配置错误而引起:( Application Error 问题
【Azure 应用服务】部署Jar到App Service for Linux,因启动命令路径配置错误而引起:( Application Error 问题
|
IDE Java 开发工具
解决IntelliJ IDEA报错Error:Cannot determine path to ‘tools.jar‘ library for 17 (D:/JAVA)
解决IntelliJ IDEA报错Error:Cannot determine path to ‘tools.jar‘ library for 17 (D:/JAVA)
1496 0
|
Java Maven Android开发
解决警告: Failed to scan JAR[...] java.util.zip.ZipException: error in opening zip file
解决警告: Failed to scan JAR[...] java.util.zip.ZipException: error in opening zip file
|
应用服务中间件
Error running ‘Tomcat 9.0.33‘: Can‘t find catalina.jar
Error running ‘Tomcat 9.0.33‘: Can‘t find catalina.jar
274 1
|
开发工具
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
117 0
|
开发工具
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
Unknown error: Unable to build: the file dx.jar was not loaded from the SDK folder!
464 0
JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent.【完美解决方案】
JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent.【完美解决方案】
JRebel-JVMTI [ERROR] You’re using an incompatible ‘jrebel.jar’ with the JRebel Agent.【完美解决方案】
|
Java Windows
【错误记录】jar 执行错误 ( java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0 )
【错误记录】jar 执行错误 ( java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0 )
302 0
【错误记录】jar 执行错误 ( java.lang.UnsupportedClassVersionError: Unsupported major.minor version 52.0 )

热门文章

最新文章