<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庫恢復了