You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Cyriaque Dupoirieux <Cy...@pcotech.fr> on 2003/10/09 09:43:10 UTC

[Jalopy]

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,

-- 
*Cyriaque Dupoirieux* <ma...@pcotech.fr>
PCO Technologies
Burolines - 2 ter rue Marcel Doret
31700 Blagnac
Tél : 05.34.60.44.13 - Fax : 05.34.60.44.10
Mobile : 06.30.29.17.07



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [Jalopy] loader constraints violation with log4j.

Posted by di...@multitask.com.au.
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 <Do...@cs.tcd.ie> 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:
> 
> [dahlemd@strider 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [Jalopy] loader constraints violation with log4j.

Posted by Dominik Dahlem <Do...@cs.tcd.ie>.
I have a similar problem when running "maven clean site" in one of my
projects. I get the following error message:

[dahlemd@strider 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org