I am studing Mybatis and this is my build.gradle file
but when I refresh it,IntelliJ IDEA told me "could not resolve all dependencies for configuration ':runtime'"
How can I fix it?
I am studing Mybatis and this is my build.gradle file
but when I refresh it,IntelliJ IDEA told me "could not resolve all dependencies for configuration ':runtime'"
How can I fix it?
It seems, you have an "offline mode" turned on, while created your Gradle project in IDE. Check the project setting, find a Gradle tab and turn off "Offline mode". Here you can find some more related info, about the way to disable it.
Note, that this option is used to turn off any Gradle network activity and make it impossible to download your dependencies if the are not yet cached or not added via file dependencies.