Relevant versions: This information pertains to Artifactory version 7.x
Artifactory 7.x is compatible with Java 11 (and the JDK comes as part of your application bundle). When Artifactory starts, the JDBC driver will be copied from its $JFROG_HOME/artifactory/var/bootstrap/artifactory/tomcat/lib folder location to the $JFROG_HOME/artifactory/app/artifactory/tomcat/lib folder location.
Whenever you upgrade Artifactory to version 7.x, the following error may be encountered and Artifactory will not start:
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
This means that the JDBC driver for the external database being used is incompatible with Java 11. To overcome this error, place a compatible JDBC driver in your $JFROG_HOME/artifactory/var/bootstrap/artifactory/tomcat/lib folder and restart Artifactory.
If this does not resolve the problem, do the following:
-
Navigate to the $JFROG_HOME/artifactory/app/artifactory/tomcat/lib folder as still the incompatible JDBC drivers still available
-
Remove all JDBC drivers
-
Restart Artifactory