I'm using IntelliJ for a Spring Boot application made with the Spring Boot Initializr. Added are two dependency's: Spring Web and REST Repositories. Now that I try to build the main class, I get an error saying:
Could not initialize class org.jetbrains.jps.builders.JpsBuildBundle
The configuration is the one given by IntelliJ and I tried updating my JDK to version 16 but sadly it didn't work.
Also I'm working on a MacBook Pro with the M1 chip (don't know if it could have anything to do with the problem, but couldn't hurt mentioning it).
I had the same issue when trying to build freshly created Spring initializr project with java version 16.
Didn't want to reinstall idea (since other projects worked just fine).
Solution to fix that was to change back to java 15 (in pom.xml and project structure(project SDK, modules))
Intellij details
IntelliJ IDEA 2020.3.1 (Ultimate Edition)
Build #IU-203.6682.168
Got a simple solution, just uninstalled and installed again the Idea.
I'm using IntelliJ IDEA and These are the steps that helped me:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With