java.lang.IllegalStateException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Save @Entity using @EntityManager not working
    via Stack Overflow by Tirath
    ,
    • java.lang.IllegalStateException: Only session beans with bean-managed transactions can obtain UserTransaction at com.sun.ejb.containers.EJBContainerTransactionManager.getUserTransaction(EJBContainerTransactionManager.java:566) at com.sun.ejb.containers.BaseContainer.getUserTransaction(BaseContainer.java:995) at com.sun.ejb.containers.AbstractSessionContextImpl.getUserTransaction(AbstractSessionContextImpl.java:120)
    No Bugmate found.