[ERROR] No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?
This is the output i get when i try to compile using the command in intellij
mvn clean package
Where is it drawing the directory? I can compile java code no problem.