Reputation: 189
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.
Upvotes: 0
Views: 52