Upgrading the SQL Server driver to 6.4.0 makes the build fail with JDK 9 as the 6.1.0 driver did bring a javax.activation dependency. This dependency is needed by ORM with JDK 9 as it is not activated anymore and JAXB needs it.