Error deploying Spring application to Jboss due to ClassCastException
- by Rafael
When I try to deploy a spring application in Jboss, I get this error:
11:32:34,045 ERROR [AbstractKernelController] Error installing to Start: name=persistence.unit:unitName=#ehr-punit state=Create
java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] - You have not defined a jta-data-source for a JTA enabled persistence context…