I had setup of Hibernate Tools Annotations configuration which worked just fine until we didn’t update to Java 10 from Java 8… On the Classpath Tab of the Edit Configuration window I constantly get [Classpath]: Could not load AnnotationConfiguration.
I’ve tried including jar manually etc but nothing helped.
Project is SpringBoot 2.0.2.RELEASE
org.hibernate.console.HibernateConsoleRuntimeException: Could not load AnnotationConfiguration
Could not load AnnotationConfiguration
org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
org.hibernate.boot.registry.classloading.spi.ClassLoadingException: Unable to load class [com.microsoft.sqlserver.jdbc.SQLServerDriver]
Unable to load class [com.microsoft.sqlserver.jdbc.SQLServerDriver]
java.lang.ClassNotFoundException: Could not load requested class : com.microsoft.sqlserver.jdbc.SQLServerDriver
Could not load requested class : com.microsoft.sqlserver.jdbc.SQLServerDriver
FAILURE! 17:26:42 org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment] 17:26:42 at com.sap.db.jdbc.exceptions.SQLExceptionSapDB._newInstance(SQLExceptionSapDB.java:191) 17:26:42 at com.sap.db.jdbc.exceptions.SQLExceptionSapDB.newInstance(SQLExceptionSapDB.java:42) 17:26:42 at com.sap.db.jdbc.packet.HReplyPacket._buildExceptionChain(HReplyPacket.java:881) 17:26:42 at com.sap.db.jdbc.packet.HReplyPacket.getSQLExceptionChain(HReplyPacket.java:130) 17:26:42 at com.sap.db.jdbc.packet.HPartInfo.getSQLExceptionChain(HPartInfo.java:39) 17:26:42 at com.sap.db.jdbc.ConnectionSapDB._receive(ConnectionSapDB.java:2534) 17:26:42 at com.sap.db.jdbc.ConnectionSapDB.exchange(ConnectionSapDB.java:1507) 17:26:42 at com.sap.db.util.security.AuthenticationManager.authenticate(AuthenticationManager.java:115) 17:26:42 at com.sap.db.jdbc.ConnectionSapDB._getNewSession(ConnectionSapDB.java:2901) 17:26:42 at com.sap.db.jdbc.ConnectionSapDB._getNewConnection(ConnectionSapDB.java:2832) 17:26:42 at com.sap.db.jdbc.ConnectionSapDB.(ConnectionSapDB.java:194) 17:26:42 at com.sap.db.jdbc.ConnectionSapDBFinalize.(ConnectionSapDBFinalize.java:36) 17:26:42 at com.sap.db.jdbc.ConnectionSapDBFinalize.newInstance(ConnectionSapDBFinalize.java:23) 17:26:42 at com.sap.db.jdbc.Driver._connect(Driver.java:1441) 17:26:42 at com.sap.db.jdbc.Driver.connect(Driver.java:1068) 17:26:42 at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:95) 17:26:42 at com.zaxxer.hikari.util.DriverDataSource.getConnection(DriverDataSource.java:101) 17:26:42 at com.zaxxer.hikari.pool.PoolBase.newConnection(PoolBase.java:341) 17:26:42 at com.zaxxer.hikari.pool.HikariPool.checkFailFast(Hikari