oodt-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mattmann, Chris A (388J)" <chris.a.mattm...@jpl.nasa.gov>
Subject Re: Failure in maven install of OODT
Date Tue, 07 Aug 2012 15:01:20 GMT
Hi Chris,

What version of Maven and Java are you using?

It looks like you have some class on your classpath that is overriding the 
XML parser (and its methods) that that particular test is expecting. Let me know
the Maven/Java version and we can go from there.

You can also get past this if you are in a hurry bout running mvn -Dmaven.test.skip=true
to skip the tests. Also, one thing is that OODT requires Maven 2.2.1, so if you are running
Maven3 (the default version on the newer versions of Mac) then you will need to install
a parallel Maven2 install to build it.

Cheers,
Chris

On Aug 6, 2012, at 2:28 PM, Lynnes, Christopher S. (GSFC-6102) wrote:

> I wanted to take OODT out for a test drive on my Mac, running Lion, but the mvn install
produces a failure:
> 
>> -------------------------------------------------------------------------------
>> Test set: org.apache.oodt.profile.EnumeratedProfileElementTest
>> -------------------------------------------------------------------------------
>> Tests run: 7, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.801 sec <<<
FAILURE!
>> testSpacePreserving(org.apache.oodt.profile.EnumeratedProfileElementTest)  Time elapsed:
0.646 sec  <<< ERROR!
>> java.lang.AbstractMethodError: org.apache.xerces.dom.DocumentImpl.getXmlStandalone()Z
>>        at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.setDocumentInfo(DOM2TO.java:373)
>>        at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:127)
>>        at com.sun.org.apache.xalan.internal.xsltc.trax.DOM2TO.parse(DOM2TO.java:94)
>>        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transformIdentity(TransformerImpl.java:679)
>>        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:723)
>>        at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:336)
>>        at org.apache.oodt.commons.util.XML.serialize(XML.java:242)
>>        at org.apache.oodt.commons.util.XML.serialize(XML.java:191)
>>        at org.apache.oodt.commons.util.XML.serialize(XML.java:205)
>>        at org.apache.oodt.profile.Profile.toString(Profile.java:199)
>>        at org.apache.oodt.profile.EnumeratedProfileElementTest.testSpacePreserving(EnumeratedProfileElementTest.java:110)
> 
> Any ideas?
> --
> Dr. Christopher Lynnes     NASA/GSFC, Code 610.2    phone: 301-614-5185
> 
> 


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Chris Mattmann, Ph.D.
Senior Computer Scientist
NASA Jet Propulsion Laboratory Pasadena, CA 91109 USA
Office: 171-266B, Mailstop: 171-246
Email: chris.a.mattmann@nasa.gov
WWW:   http://sunset.usc.edu/~mattmann/
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Adjunct Assistant Professor, Computer Science Department
University of Southern California, Los Angeles, CA 90089 USA
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++


Mime
View raw message