Hi Raivo! This is a better question for the users list. The developer list is for maven development.
But long story short: javax.xml.bind got removed from Java 9+. So even if you are compiling TO java 8 (e.g. using switches like maven.compiler.release or maven.compiler.target), it will still not find these packages in the Java 9+ JDK it is running. Best advice is to add the missing dependencies. They do not hurt on Java 8, but will be needed on Java 9 anyway. Please find an in-depth answer here on SO: https://stackoverflow.com/a/52502208 HTH, Ben Am Mi., 9. Nov. 2022 um 15:52 Uhr schrieb Raivo Rebane <ra...@r-systems.ee>: > > Hello > > I a novice user of maven and I would like to compile with maven OGC > Validator, but I got error: > > [ERROR] > /C:/Users/Raivo/teamengine/teamengine-realm/src/main/java/com/occamlab/te/realm/PasswordStorage.java:[17,22] > package javax.xml.bind does not exist. > > But it really exist in jdk-8 and jre-8 lib directories. > > Where they must saved to be found by Maven Java compiler ? > > Regards > > Raivo > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org > For additional commands, e-mail: dev-h...@maven.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org For additional commands, e-mail: dev-h...@maven.apache.org