« Return to Thread: [jira] Created: (MEVENIDE-620) Test fail with extra commons-logging

[jira] Commented: (MEVENIDE-620) Test fail with extra commons-logging

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View in Thread


    [ http://jira.codehaus.org/browse/MEVENIDE-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=130125#action_130125 ]

Nick Stuart commented on MEVENIDE-620:
--------------------------------------

I'll see if I can come up with one. The only problem with doing it quickly is we have an internal repo set up with some custom stuff in it so duplicating an exact project, dependencies wise will be a little tricky.

The other odd thing is that all my projects inherit from one super-pom with the dependencies in it, yet some work and some don't. The only thing I've seen thats really different are the ones that rely on some of our own internal projects seem to be failing. Let me see if I can get the debug output and see if that helps.

> Test fail with extra commons-logging
> ------------------------------------
>
>                 Key: MEVENIDE-620
>                 URL: http://jira.codehaus.org/browse/MEVENIDE-620
>             Project: mevenide
>          Issue Type: Bug
>          Components: mevenide2-netbeans
>    Affects Versions: NB_3.0
>         Environment: netbean 6.0.1 6.1dev kubuntu linux
>            Reporter: Nick Stuart
>            Assignee: Milos Kleint
>             Fix For: NB_3.1
>
>
> 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


 « Return to Thread: [jira] Created: (MEVENIDE-620) Test fail with extra commons-logging