Test fail with extra commons-logging
------------------------------------
Key: MEVENIDE-620
URL:
http://jira.codehaus.org/browse/MEVENIDE-620 Project: mevenide
Issue Type: Bug
Components: mevenide-netbeans
Affects Versions: NB_3.0
Environment: netbean 6.0.1 6.1dev kubuntu linux
Reporter: Nick Stuart
Assignee: Milos Kleint
I have a maven project setup that, outside of the ide, runs and completes tests just fine. If I try to run the tests from with in Netbeans I get an error:
------------------------------------------------------------------------
null; nested exception is java.lang.ExceptionInInitializerError: null
Invalid class loader hierarchy. You have more than one version of 'org.apache.commons.logging.Log' visible, which is not allowed.
------------------------------------------------------------------------
For more information, run Maven with the -e switch
------------------------------------------------------------------------
Total time: 3 seconds
Finished at: Tue Apr 08 09:23:27 EDT 2008
Final Memory: 91M/185M
------------------------------------------------------------------------
The pom files are not changed between when I open it in NB and when I run it on the command line, but it still fails. I've checked my dependencies, and I only have 1 reference of commons-logging 1.0.4 in the list, so I don't know where the extra one is coming from.
I do have some projects that test fine through NB, so really not sure whats going on here.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email