[jbossts-issues] [JBoss JIRA] (JBTM-2184) NoClassDefFoundError: Missing Dependency on jboss-transaction-spi

Michael Musgrove (JIRA) issues at jboss.org
Wed May 28 06:05:15 EDT 2014


    [ https://issues.jboss.org/browse/JBTM-2184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971121#comment-12971121 ] 

Michael Musgrove edited comment on JBTM-2184 at 5/28/14 6:04 AM:
-----------------------------------------------------------------

So my guess is that we need to add the dependency to ArjunaJTA/narayana-jta/pom.xml - what is the easiest way to test that?

I ran tattletale over narayana-jta and it reports transitive dependencies on other stuff as well (org.hornetq.core and org.jfree). Does that imply we need to add explicit dependencies on those too?


was (Author: mmusgrov):
So my guess is that we need to add the dependency to ArjunaJTA/narayana-jta/pom.xml - what is the easiest way to test that?

> NoClassDefFoundError: Missing Dependency on jboss-transaction-spi
> -----------------------------------------------------------------
>
>                 Key: JBTM-2184
>                 URL: https://issues.jboss.org/browse/JBTM-2184
>             Project: JBoss Transaction Manager
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: JTA
>    Affects Versions: 5.0.1
>            Reporter: Andrew Rubinger
>            Assignee: Paul Robinson
>
> Looks like Narayana is missing a dependency, as this isn't brought in transitively:
> {code}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){code}
> I'm also not finding the 7.x series of jboss-transaction-spi in Maven Central; is this intended?



--
This message was sent by Atlassian JIRA
(v6.2.3#6260)


More information about the jbossts-issues mailing list