To fix a similar exception in the SDO CTS, I contributed a patch to the 
pom.xml file to add a dependency on the stax api (see 
http://issues.apache.org/jira/browse/TUSCANY-1105)

Regards,
Paul Golick

e-mail:  [EMAIL PROTECTED]



"Yang ZHONG" <[EMAIL PROTECTED]> 
2007-02-19 01:38 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: DAS Build failure : java.lang.NoClassDefFoundError: 
javax/xml/stream/XMLStreamException






There're some info on the email thread:
    http://www.mail-archive.com/tuscany-dev%40ws.apache.org/msg14026.html
and the JIRA:
    http://issues.apache.org/jira/browse/TUSCANY-1119


On 2/18/07, Luciano Resende <[EMAIL PROTECTED]> wrote:
>
> Just noticed that DAS build is failing on trunk, and was wondering if
> anyone
> is seeing the same...
> Is this something related to SDO dependencies on JDK 6 ?
>
> -------------------------------------------------------
> T E S T S
> -------------------------------------------------------
> Running org.apache.tuscany.das.rdb.test.suites.AllTestsDerby
> Setting up for Derby run
> Ending Derby run
> Tests run: 154, Failures: 0, Errors: 70, Skipped: 0, Time elapsed:
> 21.898sec <<< FAILURE!
> 
testDeleteAndCreate(org.apache.tuscany.das.rdb.test.CrudWithChangeHistory)
> Time elapsed: 0.431 sec  <<< ERROR!
> java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
>        at
>
> 
org.apache.tuscany.sdo.util.resource.SDOXMLResourceImpl$SDOXMLLoadImpl.makeDefaultHandler
> (SDOXMLResourceImpl.java:300)
>        at 
org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.createDefaultHandler(
> XMLLoadImpl.java:305)
>        at
> org.eclipse.emf.ecore.xmi.impl.XMLParserPoolImpl.getDefaultHandler(
> XMLParserPoolImpl.java:186)
>        at 
org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java
> :230)
>        at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(
> XMLResourceImpl.java:666)
>        at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.load(
> XMLResourceImpl.java:634)
>        at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(
> XMLDocumentImpl.java:238)
>        at org.apache.tuscany.sdo.helper.XMLDocumentImpl.load(
> XMLDocumentImpl.java:216)
>        at org.apache.tuscany.sdo.helper.XMLHelperImpl.load(
> XMLHelperImpl.java:78)
>        at org.apache.tuscany.sdo.helper.XMLHelperImpl.load(
> XMLHelperImpl.java:72)
>        at org.apache.tuscany.das.rdb.util.ConfigUtil.loadConfig(
> ConfigUtil.java:52)
>        at 
org.apache.tuscany.das.rdb.impl.DASImpl.<init>(DASImpl.java:102)
>        at org.apache.tuscany.das.rdb.impl.DASFactoryImpl.createDAS(
> DASFactoryImpl.java:39)
>        at
> 
org.apache.tuscany.das.rdb.test.CrudWithChangeHistory.testDeleteAndCreate(
> CrudWithChangeHistory.java:54)
>        at
> 
org.apache.tuscany.das.rdb.test.CrudWithChangeHistory.testDeleteAndCreate(
> CrudWithChangeHistory.java:54)
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>        at sun.reflect.NativeMethodAccessorImpl.invoke(
> NativeMethodAccessorImpl.java:39)
>        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
> DelegatingMethodAccessorImpl.java:25)
>        at java.lang.reflect.Method.invoke(Method.java:585)
>        at junit.framework.TestCase.runTest(TestCase.java:154)
>        at junit.framework.TestCase.runBare(TestCase.java:127)
>        at junit.framework.TestResult$1.protect(TestResult.java:106)
>        at junit.framework.TestResult.runProtected(TestResult.java:124)
>        at junit.framework.TestResult.run(TestResult.java:109)
>        at junit.framework.TestCase.run(TestCase.java:118)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>        at junit.framework.TestSuite.runTest(TestSuite.java:208)
>        at junit.framework.TestSuite.run(TestSuite.java:203)
>
> --
> Luciano Resende
> http://people.apache.org/~lresende
>



-- 

Yang ZHONG

Reply via email to