<b>root project 'test2': Web Facets/Artifacts will not be configured properly</b>
Details: org.gradle.api.artifacts.ResolveException: Could not resolve all dependencies for configuration ':runtime'.
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve ch.qos.logback:logback-classic:1.1.3.
Required by:
test2:test2:1.0-SNAPSHOT
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: No cached version of ch.qos.logback:logback-classic:1.1.3 available for offline mode.</i>
Warning:<i><b>root project 'test2': Web Facets/Artifacts will not be configured properly</b>
就是idea里面的settings/build tools/gradle里面的offline work不能勾选,我反复确认我这些东西都搞好了,jdk和gradle换了几个版本也没用,楼主说的卸载idea我也干了,还是没用,楼主也说过了这个项目之前是没有问题的,所以我猜测问题不是出在了配置文件而是外部,我理解的gradle就是一个jar包管理器,我发现我的项目里面部分jar是有的,有的jar包就没用,所以我找到了配置的lib包下载的地址,直接网址栏进入,无法访问,说到这里应该都明白了吧,存放lib包的git库估计是崩了,然后换了一个git库完全没问题了,如果题主的问题和我一样的话,那么你的idea卸载的有点吃亏啊,因为可能在你卸载idea的时候别人刚好把git库恢复了