No cached version of org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE available for offline mode.


No cached version of org.springframework.boot:spring-boot-gradle-plugin:1.5.10.RELEASE available for offline mode.

 

 

在gradle+IDEA的项目中出现如下错误:

         Error:No cached version of org.springframework.boot:spring-boot-gradle-plugin:2.1.11.available for offline mode.

 

原因是,在settings中设置全局Gradle插件导致。

 修改方法:在File->Settings->Build,Execution,Deployment->Gradle中。找到Globel Gradle settings.你会发现Offline work被勾选了。你去除勾线后,保存。这样会重新拉取gradle plugin.


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM