7 comments
Avatar
Permanently deleted user

The problem is that the IntelliJ isn't calling the plugin during the compile, as I mentioned.

0

> Any time you want to generate sources you simply execute the corresponding goal, bound for generation (usually generate-sources, generate-test-sources). After that IDEA will pick up new folders and set them up.

0
Avatar
Permanently deleted user

FIXED, I changed the Java Runtime who runs the IDEA, to a JDK installed version. It was configured to run with a JRE.

This plugin must run using a JDK.

>> All platforms: switch between installed runtimes

 https://intellij-support.jetbrains.com/hc/en-us/articles/206544879-Selecting-the-JDK-version-the-IDE-will-run-under 

 

1

IntelliJ IDEA bundled runtime is JDK, IDE will not run on JRE because it requires tools.jar, so it's not clear how it helped.

0

Real solution might be to run "Generate sources and Update Folders For All Projects" in Maven Project dialog, or running corresponding maven goal.

3

Tixomir solution helped me after a lot of searches! Thank you!

0

Please sign in to leave a comment.