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

Tom Jenkinson (JIRA) issues at jboss.org
Wed May 28 17:21:15 EDT 2014


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

Tom Jenkinson commented on JBTM-2184:
-------------------------------------

Its only the stuff that is activated at runtime we need. So the org.jfree would only activate if you used the stats stuff and the hornetq if you used the HQ object store.

I am assuming that the issue is that narayana-jta does not uber jar include the spi as its external to the project, hence making the spi available in maven central is the right thing to do (plus the example should be updated to include it as a provided dependency).

It looks like something changed with the spi syncing as version 6 is in maven central: http://search.maven.org/#search%7Cga%7C1%7Cjboss-transaction-spi

> 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