ISPN-4667 Query DSL fails to load entity class in Wildfly