On Wed, Mar 25, 2009 at 7:10 PM, Scott Blum <sco...@google.com> wrote:
> On Wed, Mar 25, 2009 at 6:22 PM, Vitali Lovich <vlov...@gmail.com> wrote: > >> If I don't put the log4j file into my WEB-INF/lib directory, then it's >> fine. If it is put there, then it gets the conflicting version (regardless >> of whether or not I launch HostedMode with log4j on the class path). So am >> I doing it wrong? >> > > i'm confused... if you don't have log4j on the classpath, how can you be > loading it via Launcher$AppClassLoader? It must be hiding out in some other > jar you have on the classpath? > Sorry for the confusion. Here's what I meant: If I add the log4j library in the WEB-INF/lib to the classpath of the runtime configuration, I get the problem above. If I move the log4j library out of the WEB-INF/lib directory to somewhere else like project/lib & add it to the classpath, then it works. > > Am I supposed to place it elsewhere & then copy it over to WEB-INF/lib when >> I'm packaging it up only? >> > > That's not the intent... can you send me a small sample that repros this? > I don't have time right now. If you want I can e-mail you my project privately. It's a school project, so there's no confidentiality to it or anything. I just don't want to spam the mailing list. Thanks > > Scott > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---