Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Tirath
, 1 year ago
A JTA EntityManager cannot use getTransaction()
via Hibernate JIRA by Yoann Rodière, 7 months ago
A JTA EntityManager cannot use getTransaction()
via Stack Overflow by Snerps
, 1 year ago
A JTA EntityManager cannot use getTransaction()
java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()	at org.hibernate.internal.AbstractSharedSessionContract.getTransaction(AbstractSharedSessionContract.java:360)	at org.hibernate.internal.AbstractSessionImpl.getTransaction(AbstractSessionImpl.java:23)	at com.sun.enterprise.container.common.impl.EntityManagerWrapper.getTransaction(EntityManagerWrapper.java:806)