I am getting the following error or $ mvn compile:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on
For the new Apache net Bean its a little bit different from the suggestion by SUPARNA SOMAN
set configuration
" and click customize configuration
-.A new dialogue box opens....Source
"