Can it be this?

http://jira.codehaus.org/browse/MSITE-467


On 2011-08-02 22:26, Siegfried Goeschl wrote:
> Hi folks,
> 
> I'm currently preparing the first release of the webtest-maven-plugin
> and get the following error when running "site-deploy". After some
> googling I'm still unable to solve the issue ...
> 
> Any ideas?
> 
> Siegfried Goeschl
> 
> 
> webtest-maven-plugin> mvn -v
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java version: 1.6.0_26
> Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x" version: "10.6.8" arch: "x86_64" Family: "mac"
> 
> 
> webtest-maven-plugin> mvn clean site-deploy
> [FATAL ERROR] Container realm = plexus.core
> urls[0] = file:/opt/java/apache-maven-2.2.1/lib/maven-2.2.1-uber.jar
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] null
> Invalid class loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> java.lang.ExceptionInInitializerError
>     at
> org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:145)
> 
>     at
> org.apache.webdav.lib.WebdavSession.getSessionInstance(WebdavSession.java:127)
> 
>     at
> org.apache.webdav.lib.WebdavResource.setClient(WebdavResource.java:1273)
>     at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1298)
>     at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1320)
>     at
> org.apache.webdav.lib.WebdavResource.setHttpURL(WebdavResource.java:1408)
>     at org.apache.webdav.lib.WebdavResource.<init>(WebdavResource.java:290)
>     at
> org.apache.maven.wagon.providers.webdav.CorrectedWebdavResource.<init>(CorrectedWebdavResource.java:54)
> 
>     at
> org.apache.maven.wagon.providers.webdav.WebDavWagon.openConnection(WebDavWagon.java:143)
> 
>     at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
>     at org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:142)
>     at
> org.apache.maven.plugins.site.SiteDeployMojo.execute(SiteDeployMojo.java:212)
> 
>     at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:490)
> 
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:694)
> 
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:556)
> 
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:535)
> 
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:387)
> 
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:348)
> 
>     at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:180)
> 
>     at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:328)
>     at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:138)
>     at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
>     at
> org.apache.maven.cli.compat.CompatibleMain.main(CompatibleMain.java:60)
>     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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
>     at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
>     at
> org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
>     at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Invalid class
> loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused
> by org.apache.commons.logging.LogConfigurationException: Invalid class
> loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.) (Caused
> by org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Invalid class
> loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused
> by org.apache.commons.logging.LogConfigurationException: Invalid class
> loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.))
>     at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:543)
> 
>     at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:235)
> 
>     at
> org.apache.commons.logging.impl.LogFactoryImpl.getInstance(LogFactoryImpl.java:209)
> 
>     at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:351)
>     at
> org.apache.commons.httpclient.HttpClient.<clinit>(HttpClient.java:69)
>     ... 31 more
> Caused by: org.apache.commons.logging.LogConfigurationException:
> org.apache.commons.logging.LogConfigurationException: Invalid class
> loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed. (Caused
> by org.apache.commons.logging.LogConfigurationException: Invalid class
> loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.)
>     at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:397)
> 
>     at
> org.apache.commons.logging.impl.LogFactoryImpl.newInstance(LogFactoryImpl.java:529)
> 
>     ... 35 more
> Caused by: org.apache.commons.logging.LogConfigurationException: Invalid
> class loader hierarchy.  You have more than one version of
> 'org.apache.commons.logging.Log' visible, which is not allowed.
>     at
> org.apache.commons.logging.impl.LogFactoryImpl.getLogConstructor(LogFactoryImpl.java:385)
> 
>     ... 36 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 3 minutes 59 seconds
> [INFO] Finished at: Tue Aug 02 22:16:27 CEST 2011
> [INFO] Final Memory: 91M/243M
> [INFO]
> ------------------------------------------------------------------------
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 
> 
> 


-- 
Dennis Lundberg

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to