I'm not sure I understand your question, but in general, if you need to find a JAR containing an arbitrary class, you can use the Nexus search engine, e.g. on http://repository.sonatype.org/

Justin

Jim Collings wrote:
Here is what I am seeing when I try to run "mvn test":

I've been poking around looking for someone else who might have been
having similar problems but so far all I've been able to discover is
that it is likely to be a transitive dependency problem with the
logger.  Could use some clues as to how I should go about tracking
this down.  Have been using "mvn dependency:tree" but this doesn't
tell me which jar has the offending class. If I knew that I could try
an exclude.

INFO [main] (?:?) - Refreshing
org.apache.cxf.bus.spring.busapplicationcont...@b6e39f: display name
[org.apache.cxf.bus.spring.busapplicationcont...@b6e39f]; startup date
[Mon Mar 29 13:41:23 EDT 2010]; root of context hierarchy
DEBUG [main] (?:?) - Class
[org.apache.commons.collections.map.LinkedMap] or one of its
dependencies is not present: java.lang.ClassNotFoundException:
org.apache.commons.collections.map.LinkedMap
DEBUG [main] (?:?) - Class
[edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap] or
one of its dependencies is not present:
java.lang.ClassNotFoundException:
edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.29
sec <<< FAILURE!
org.apache.maven.surefire.booter.SurefireExecutionException: null;
nested exception is java.lang.NullPointerException: null
java.lang.NullPointerException
        at java.io.Writer.write(Writer.java:140)
        at java.io.PrintWriter.newLine(PrintWriter.java:436)
        at java.io.PrintWriter.println(PrintWriter.java:585)
        at java.io.PrintWriter.println(PrintWriter.java:696)
        at 
org.apache.maven.surefire.report.AbstractFileReporter.testSetStarting(AbstractFileReporter.java:59)
        at 
org.apache.maven.surefire.report.ReporterManager.testSetStarting(ReporterManager.java:219)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        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:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to