-
Bug
-
Resolution: Done
-
Major
-
JDG 7.0.0 ER2, JDG 7.0.0 ER3
-
None
When using eap modules with EAP7, with this jboss-deployment-structure.xml
<jboss-deployment-structure> <deployment> <dependencies> <module name="org.infinispan" slot="jdg-7.0"/> <module name="org.hibernate.hql.parser" slot="jdg-7.0"/> <module name="org.infinispan.query" slot="jdg-7.0" services="export"/> <module name="org.infinispan.query.dsl" slot="jdg-7.0" services="export"/> <module name="org.jgroups" slot="jdg-7.0"/> </dependencies> </deployment> </jboss-deployment-structure>
this exception is thrown
Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
at org.hibernate.search.backend.elasticsearch.impl.ElasticsearchBridgeProvider$EsDateBridge.convertToString(ElasticsearchBridgeProvider.java:71)
at org.hibernate.search.backend.elasticsearch.impl.ElasticsearchBridgeProvider$EsDateBridge.set(ElasticsearchBridgeProvider.java:54)
...
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter from [Module "org.hibernate.search.backend-elasticsearch:5.6.0.Alpha3-redhat-1" from local module loader @5b1d2887 (finder: local module finder @46f5f779 (roots: /home/van/work/releases/eap7er5/modules,/home/van/work/releases/eap7er5/modules/system/layers/base))]
at org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:198)
at org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:363)
I tried adding
<module name="javax.xml"/>
to the org.hibernate.search.backend-elasticsearch module.xml, but such module isn't recognized by EAP7, so I don't know what the fix could be.
- is caused by
-
ISPN-6522 Cannot use @DateBridge with WildFly modules: java.lang.NoClassDefFoundError: javax/xml/bind/DatatypeConverter
- Closed