Skip to content
This repository was archived by the owner on Nov 14, 2024. It is now read-only.
This repository was archived by the owner on Nov 14, 2024. It is now read-only.

Missing Transaction Dependancy #22

@manawardhana

Description

@manawardhana

I was getting TransactionRequiredException when I'm using EntityManager in JSF managed beans. I fixed it by adding following dependancy to pom.xml of web module:

  <dependency>
     <groupId>org.jboss.spec.javax.transaction</groupId>
     <artifactId>jboss-transaction-api_1.1_spec</artifactId>
     <scope>provided</scope>
  </dependency>

I feel like it should be added by default.

Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions