geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Woods <dwo...@apache.org>
Subject Re: Anyone else seing J2EE Schema unit test failures?
Date Mon, 23 Jul 2007 12:30:50 GMT
I wiped my .m2 repo and rebuilt from a clean checkout and everything worked. 
Thanks.

-Donald

David Jencks wrote:
> My guess would be that you don't have the most recent xmlbeans schema 
> compilation jars, compiled with xmlbeans 2.3.0.  Have you tried mvn -U?
> 
> thanks
> david jencks
> 
> On Jul 22, 2007, at 7:37 PM, Donald Woods wrote:
> 
>> I'm seeing a unit test failure on Linux in J2EE Schema on the latest 
>> trunk -
>>
>> ------------------------------------------------------------------------------- 
>>
>> Test set: org.apache.geronimo.schema.SchemaConversionUtilsTest
>> ------------------------------------------------------------------------------- 
>>
>> Tests run: 9, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.7 
>> sec <<< FAILURE!
>> testGetNestedObjectAsType(org.apache.geronimo.schema.SchemaConversionUtilsTest) 

>> Time elapsed: 0.013 sec  <<< ERROR!
>> java.lang.NoSuchMethodError: 
>> org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;

>>
>>         at 
>> org.apache.geronimo.xbeans.javaee.EjbJarType.<clinit>(Unknown Source)
>>         at 
>> org.apache.geronimo.schema.SchemaConversionUtilsTest.testGetNestedObjectAsType(SchemaConversionUtilsTest.java:150)

>>
>>
>>
>>   <testcase time="0.32" name="testOrderDescriptionGroup"/>
>>   <testcase time="0.033" name="testOrderJNDIEnvironmentRefsGroup"/>
>>   <testcase time="0.249" name="testGeronimoNamingNamespaceChange"/>
>>   <testcase time="0.011" name="testGetNestedObjectAsType">
>>     <error type="java.lang.NoSuchMethodError" 
>> message="org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;">java.lang.NoSuchMethodError:

>> org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Ljava/lang/ClassLoader;Ljava/lang/String;)Lorg/apache/xmlbeans/SchemaTypeSystem;

>>
>>         at 
>> org.apache.geronimo.xbeans.javaee.EjbJarType.&amp;clinit&amp;(Unknown 
>> Source)
>>         at 
>> org.apache.geronimo.schema.SchemaConversionUtilsTest.testGetNestedObjectAsType(SchemaConversionUtilsTest.java:150)

>>
>> </error>
>>   </testcase>
>>   <testcase time="0.009" name="testSecurityElementConverter"/>
>>   <testcase time="0.022" name="testGBeanElementConverter"/>
>>   <testcase time="0.016" name="testQNameConverter1"/>
>>   <testcase time="0.002" name="testQNameConverter2"/>
>>   <testcase time="0.008" name="testWebMessageDestination1"/>
>>
>>
>>
>> -Donald
>>
>> prasad@apache.org wrote:
>>> OpenEJB trunk at 558558
>>> Geronimo Revision: 558562 built with tests skipped
>>>  See the full build-1800.log file at 
>>> http://people.apache.org/~prasad/binaries/20070722/build-1800.log
>>>  Building Geronimo trunk at Revision: 558562
>>> Building OpenEJB trunk at 558558
>>>  [INFO] Scanning for projects...
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD FAILURE
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] You must specify at least one goal. Try 'install'
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] For more information, run Maven with the -e switch
>>> [INFO] 
>>> ------------------------------------------------------------------------
>>> [INFO] Total time: < 1 second
>>> [INFO] Finished at: Sun Jul 22 20:36:18 EDT 2007
>>> [INFO] Final Memory: 2M/504M
>>> [INFO] 
>>> ------------------------------------------------------------------------
> 
> 
> 

Mime
View raw message