I have a clean Windows 11 machine, installed VSCode, and Java 21. I have a basic project using a dmn file and a scesim file. The problem occurs when I try to run the scesim test with mvn test. I get the following error:
: Execution default-build of goal org.kie:kie-maven-plugin:8.39.0.Final:build failed: A required class was missing while executing org.kie:kie-maven-plugin:8.39.0.Final:build: java/lang/Compiler
It is a confusing error because it is the java compiler generating the error that it can't find java.lang.Compiler.
Is this a problem anyone else has encountered? Does anyone have a solution for this?