Gradle dependencies not found in IDEA
已回答
I recently updated a java 8 project to use jdk 11, gradle from 4.6 to 5.0.
The command line build works fine, however the IDEA error checker does not find classes from the gradle dependencies (ex: javax, spring framework classes).
I've tried re-importing the project, deleting the .idea folder and regenerating it, using the latest IDEA version but, nothing worked.
Managed to reproduce it in a spring boot application I've created just for this. Any ideas?
请先登录再写评论。
Command line Gradle build fails to find the same dependencies, so the issue is with the project configuration and not with IntelliJ IDEA: