[email protected] wrote: > Hi, > > Using Maven 2.1.0 with jdk 1.6 unders Windows XP. > > Problem is that with site:stage command fails with the following error > > [INFO] > ------------------------------------------------------------------------ > [ERROR] FATAL ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] null > Invalid class loader hierarchy. You have more than one version of > 'org.apache.c > ommons.logging.Log' visible, which is not allowed. > [INFO] > ------------------------------------------------------------------------ > [INFO] Trace > java.lang.ExceptionInInitializerError > at > org.apache.maven.plugin.javadoc.JavadocUtil.fetchURL(JavadocUtil.java > :730)
Hint: Javadoc plugin > I have commons-logging-1.1.1 added as a dependency in the projects. > I got this problem with usage of site-plugin version 2.1 which probably > uses commons-logging-1.0.4 The site plugin has a transitive dependency on commons-logging:1.0.4, but that shouldn't be a problem. > With the previous plugin version it was working fine. > > I am having a flat multi-module maven project structure. > > Any help to exclude this dependency or work-around my problem is > appreciated. Please run this command on your project to find out which dependencies come from where: mvn dependency:tree > > Regards > Subir > > > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments to > this message are intended for the exclusive use of the addressee(s) and may > contain proprietary, confidential or privileged information. If you are not > the intended recipient, you should not disseminate, distribute or copy this > e-mail. Please notify the sender immediately and destroy all copies of this > message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient should > check this email and any attachments for the presence of viruses. The company > accepts no liability for any damage caused by any virus transmitted by this > email. > > www.wipro.com > -- Dennis Lundberg --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
