I am porting old EAR application from jboss-4.2.2 to Wildfly 10 and I have the following issue:
I have many hibernate config files *.hbm.xml which I used to reference from Spring config using pattern like this:
This feature doesn't seem to work in Wildfly and no resources are found. I assume because of the changed Classloader. The application is EAR application with jars and wars inside. The hbm.xml files are inside one of the jar. Is there any way to reference these resources by pattern? Maybe placing into some other resource, not jar? Or some Wildfly-specific pattern?