Cannot deploy Hibernate OGM (MongoDB) app to Wildfly
问题 I develop a simple app for learning purposes. I used Wildfly 8 (and moved to 9) as my application server, Hibernate as JPA provider and MySQL as DB. The deployment worked smoothly with no problems. Since I wanted to learn how to use MongoDB and Hibernate OGM I read several tutorials and did exactly as instructed: download and extract to modules folder Change persistence.xml to use hibernate.ogm properties Change entities' ids to use String and generated uuid's Add jboss-deployment-structure