Error while deploying thorntail generated package in java 11 runtime

34 Views Asked by At

After switching to java 11, the package generated using the latest thorntail version throws an error:

 Caused by: java.lang.ClassNotFoundException: some class from [Module \"org.hibernate.commons-annotations\" version 5.0.5.Final-redhat-00002 from BootModuleLoader@62408c4 for finders [JDK Module Finder, BootstrapClasspathModuleFinder, BootstrapModuleFinder(org.wildfly.swarm.bootstrap), ClasspathModuleFinder, ContainerModuleFinder(swarm.container), ApplicationModuleFinder(thorntail.application), org.wildfly.swarm.bootstrap.modules.DynamicModuleFinder@75bedaca]]"}}

before that, it was working okay with java 8. adding multiple thorntail's hibernate fractions and the hibernate-commons-annotations jar to the package didn't help.

0

There are 0 best solutions below