This is because you have a conflicting version of the log4j classes as 
part of your dependencies.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/


Dominik Dahlem <[EMAIL PROTECTED]> wrote on 09/10/2003 08:39:40 PM:

> I have a similar problem when running "maven clean site" in one of my
> projects. I get the following error message:
> 
> [EMAIL PROTECTED] core]$ maven clean site
>  __  __
> |  \/  |__ _Apache__ ___
> | |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
> |_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT
> 
> clean:clean:
>     [delete] Deleting directory
> /home/dahlemd/projects/mainline/container/core/target
>     [delete] Deleting:
> /home/dahlemd/projects/mainline/container/core/velocity.log
> Processing navigation.xml template ...
> org.apache.commons.jelly.JellyTagException:
> file:/home/dahlemd/.maven/plugins/maven-xdoc-templates-plugin-1.0/:
> 30:48: <v:merge> Class org/apache/log4j/Layout violates loader 
constraints
> 
> BUILD FAILED
> File......
> file:/home/dahlemd/.maven/plugins/maven-xdoc-templates-plugin-1.0/
> Element... ant:fail
> Line...... 36
> Column.... 35
> org.apache.commons.jelly.JellyTagException:
> file:/home/dahlemd/.maven/plugins/maven-xdoc-templates-plugin-1.0/:
> 30:48: <v:merge> Class org/apache/log4j/Layout violates loader 
constraints
> Total time: 7 seconds
> Finished at: Thu Oct 09 11:36:50 IST 2003
> 
> 
> Dominik
> 
> 
> On Thu, 2003-10-09 at 08:43, Cyriaque Dupoirieux wrote:
> > Hello,
> > 
> >     I had the following line :
> > 
> >     <attainGoal name="jalopy:format"/>
> > 
> > at the beginning of the target :
> > <goal
> >     name="maven-jxr-plugin:report"
> >     description="Generate HTML cross reference sources">
> > 
> > in the plugin.jelly of jxr plugin.
> >     (I want to automate the pretty print of my sources...)
> > 
> > And I have the following message while checkstyle plugin is working :
> > 
> > checkstyle:report:
> >     [echo] Using C:\Documents and 
> > Settings\duc\.maven\plugins\maven-checkstyle-plugin-2.0-
> SNAPSHOT\plugin-resources/pco_checks.xml 
> > for checkstyle ...
> > log4j:WARN No appenders could be found for logger 
> > (org.apache.commons.beanutils.BeanUtils).
> > log4j:WARN Please initialize the log4j system properly.
> > 
> >  . . .
> > 
> > xdoc:generate-from-pom:
> >     [echo] Generating xdocs from POM ...
> > 
> > BUILD FAILED
> > File...... file:/C:/Documents and 
> > Settings/duc/.maven/plugins/maven-xdoc-plugin-1.4-SNAPSHOT/
> > Element... velocity:merge
> > Line...... 382
> > Column.... 9
> > Class org/apache/log4j/Layout violates loader constraints
> > 
> > Do you know what I can do ?
> > 
> > Regards,
> > Cyriaque,
> 
> 
> ---------------------------------------------------------------------
> 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