Intelij issue resolving dependency for spring kotlin

Answered

Intellij is giving me errors all around for brand new kotlin/spring project and I cannot build or run the project from the IDE.

If I do it from the command line however, there are no issues and I can build and run the app.

I already submitted a post on stackoverflow with the details https://stackoverflow.com/questions/51697594/intelij-issue-resolving-dependency-for-spring-kotlin I can write it here too if necessary.

0
1 comment

If you can build it from command line with Gradle, then re-importing project into IDE should help. Please try Importing a project from a Gradle model by selecting main builg.gradle file to import from and overwrite existing configuration. Make sure to check with the latest version from https://www.jetbrains.com/idea/download.

If you continue to see the error it means that the project was not imported correctly from the gradle. Note that for Gradle JVM you need to select the locally installed 1.8 JDK not JRE. Also try using different Gradle version, that you can download from https://gradle.org/releases.

0

Please sign in to leave a comment.