I am facing annotation/persistence errors in a project and the persistence library throws a
NullPointerException when trying to resolve the entitie
From what I understand, you want debug in the compilation- not maven in debug mode.
Using mvn to compile, use debug mode through following way:
org.apache.maven.plugins
maven-compiler-plugin
3.8.1
8
true
lines,vars,source
debuglevel can be any of the three values entered in CSV format To highlight, debug and debuglevel are important nodes included in the maven.
Hope it helps in some way.
Reference: maven.apache.org/plugins/maven-compiler-plugin/compile-mojo.html