Hello. In my boot project on IDEA community 2020....
# intellij
o
Hello. In my boot project on IDEA community 2020.3, auto-build always fails reporting unresolved references to springframework, and even kotlin-stdlib classes. When I go to the reported files there's no error. I think that because of this hot reload does not works despite following all directions that I found so far, like declaring spring-devtools dependency, setting "Build project automatically" and enabling compiler.automake.allow.when.app.running on registry. Thanks for any help, this is driving me nuts
a
You have a Gradle project right? Can you do a clean build with delegation to IDEA builder without auto-make? (File | Settings | Build, Execution, Deployment | Build Tools | Gradle | Build using IDEA)? If it fails the same way, it is likely a bug with IDEA builder which can't build your project. Please file an issue at http://kotl.in/issue with a sample project to reproduce.
o
when I switch to IDEA builder it doesn't even resolve references on a manual build. I tried with my project and with a fresh one generated from spring starter. I'll file an issue with this demo project, thanks
b
Are you using AdoptOpenJDK?
o
Actually it was using oracle 1.8, just switched to AdoptOpenJDK and rebuilt the project but the issue is still the same
b
Because I have some weird class resolution problems with AdoptOpenJDK 15. Switched to Oracle OpenJDK.
o
thanks, tried to switch to oracle openjdk but no luck. I'll try to import the project again on a clean install and if it still doesn't work will file an issue