Running wildfly-11.0.0.Final
I have unzipped the hibernate 5.2 file (
hibernate-orm-modules-5.2.11.Final-wildfly-11-dist.zip) into the modules folder
My jboss-deployment-structure.xml file is:
Code:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.1">
<deployment>
<exclusions>
<module name="org.javassist" />
</exclusions>
<dependencies>
<module name="org.hibernate:5.2" />
</dependencies>
</deployment>
</jboss-deployment-structure>
At launch, this error appears:
Code:
Caused by: org.jboss.modules.ModuleNotFoundException: org.hibernate\:5.2
at org.jboss.modules.Module.addPaths(Module.java:1217)
at org.jboss.modules.Module.link(Module.java:1573)
at org.jboss.modules.Module.relinkIfNecessary(Module.java:1601)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:287)
at org.jboss.modules.ModuleLoader.loadModule(ModuleLoader.java:271)
at org.jboss.as.server.moduleservice.ModuleLoadService.start(ModuleLoadService.java:68)
I have tried unzipping the hibernate 5.2 zip file into
<WILDFLY_HOME>/modules and also into
<WILDFLY_HOME>/modules/system/layers/base and I get the same result.
I would appreciate some help getting over this hurdle.