I have a war application which contains JPA 2.1 API and Hibernate 4.3.0.Final ( JPA 2.1 implementation) packaged and bootstrapped using Spring container and I want to deploy th
If you're Maven this did the trick for me.
javax javaee-api 7.0
jboss-deployment-structure.xml