I try get a fresh SVN checkout and build using maven. But it breaks when it
comes to Test.
Here the trace.

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.qpid.framing.BasicContentHeaderPropertiesTest
log4j:WARN No appenders could be found for logger
(org.apache.qpid.framing.FieldTable).
log4j:WARN Please initialize the log4j system properly.
Tests run: 18, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] loader constraint violation: when resolving method
"org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Lorg/codehaus/plexus/util/xml/XMLWriter;Lorg/codehaus/plexus/util/xml/Xpp3Dom;)V"
the class loader (instance of org/codehaus/classworlds/RealmClassLoader) of
the current class, org/apache/maven/surefire/report/XMLReporter, and the
class loader (instance of org/codehaus/classworlds/RealmClassLoader) for
resolved class, org/codehaus/plexus/util/xml/Xpp3DomWriter, have different
Class objects for the type org/codehaus/plexus/util/xml/XMLWriter used in
the signature; nested exception is java.lang.LinkageError: loader constraint
violation: when resolving method
"org.codehaus.plexus.util.xml.Xpp3DomWriter.write(Lorg/codehaus/plexus/util/xml/XMLWriter;Lorg/codehaus/plexus/util/xml/Xpp3Dom;)V"
the class loader (instance of org/codehaus/classworlds/RealmClassLoader) of
the current class, org/apache/maven/surefire/report/XMLReporter, and the
class loader (instance of org/codehaus/classworlds/RealmClassLoader) for
resolved class, org/codehaus/plexus/util/xml/Xpp3DomWriter, have different
Class objects for the type org/codehaus/plexus/util/xml/XMLWriter used in
the signature

[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 15 minutes 43 seconds
[INFO] Finished at: Fri May 02 21:30:39 IST 2008
[INFO] Final Memory: 18M/75M
[INFO]
------------------------------------------------------------------------

Can any body help me to build this.

lahiru

Reply via email to