java.lang.IllegalStateException

A JTA EntityManager cannot use getTransaction()

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Stack Overflow by Tirath
    ,
  • via Stack Overflow by Snerps
    ,
  • Stack trace

    • 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    davidvanlaatumdavidvanlaatum
    4 times, last one