You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Charles Chan <ch...@yahoo.com> on 2003/03/12 17:40:05 UTC

loader constraints violated...

Hi, I am developing a plugin to use for my project. In
my plugin, I use my custom Ant task. This task uses
log4j, xalan, xerces, and all the commons library. I
put <classloader>root</classloader> in all of the
dependencies.
 
Now, my plugin works okay. But if I use
<velocity:merge> in my maven.xml, I got the following
error:

null:106:49: <velocity:merge> loader constraints
violated when linking org/apache/log4j/Layout class
com.werken.werkz.UnattainableGoalException: Unable to
obtain goal [ear:init] --
null:15:49: <attainGoal> null:106:49: <velocity:merge>
loader constraints violated when linking
org/apache/log4j/Layout class
 
Can anyone tell me what's wrong?? What's the
difference between <classloader>root</classloader> and
<classloader>root.maven</classloader>?
 
Thanks
Charles



__________________________________________________
Do you Yahoo!?
Yahoo! Web Hosting - establish your business online
http://webhosting.yahoo.com