jdee
jdee copied to clipboard
Compiler Error target/classes directory
If I create a basic system (I was following the spring guides), with just the pom.xml file and a java class, I keep getting this error: javac: directory not found: (myfolderstructure)/target/classes Compilation exited abnormally with code 2 at Thu Jun 22 14:19:57
Once I run on the command line mvn compile
, that directory is created and the issue disappears.
This happens, because JDEE assumes that the directory with compiled classes (target/classes in this case) is already present, which of course is not the case on a fresh project or after performing mvn clean.
JDEE should check if the classes directory is there and create it if it's not.