Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-2184

NoClassDefFoundError: Missing Dependency on jboss-transaction-spi

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 5.0.1
    • Fix Version/s: None
    • Component/s: JTA
    • Labels:
      None

      Description

      Looks like Narayana is missing a dependency, as this isn't brought in transitively:

      java.lang.NoClassDefFoundError: org/jboss/tm/FirstResource
      	at com.arjuna.ats.internal.jta.resources.arjunacore.XAResourceRecord.order(XAResourceRecord.java:139)
      	at com.arjuna.ats.arjuna.coordinator.AbstractRecord.orderEquals(AbstractRecord.java:663)
      	at com.arjuna.ats.arjuna.coordinator.AbstractRecord.equals(AbstractRecord.java:227)
      	at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:379)
      	at com.arjuna.ats.arjuna.coordinator.RecordList.insert(RecordList.java:144)
      	at com.arjuna.ats.arjuna.coordinator.BasicAction.add(BasicAction.java:307)
      	at com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:647)

      I'm also not finding the 7.x series of jboss-transaction-spi in Maven Central; is this intended?

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tomjenkinson Thomas Jenkinson
                Reporter:
                alrubinger Andrew Rubinger
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: