If you're in Eclipse, you might need to right-click on the jar files in WEB-INF/lib and select 'Build Path -> Add ...' (I believe you need the Package Explorer rather than the Project Explorer view for the right-click to work though) Fred
On Fri, Jun 26, 2009 at 2:27 AM, Miles T. <dupont.nico...@gmail.com> wrote: > > This is server side. I guess it has something to do with class > loaders, but I don't know what to do. > > On 19 juin, 15:43, Paul Robinson <ukcue...@gmail.com> wrote: > > If this is server side, could this be something to do with > > DocumentFactory being loaded by two different class loaders? > > > > Miles T. wrote: > > > Hi, > > > > > I am trying to upgrade my GWT 1.5 webapp to 1.6. When I launch the > > > webapp in hosted mode, I get the following error : > > > org.dom4j.DocumentFactory cannot be cast to org.dom4j.DocumentFactory > > > > > :-s > > > > > My webapp depends on a library A which depends on a library B which > > > depends on dom4j 1.6.1 > > > > > In my war/WEB-INF/lib directory, I see only one dom4j jar (1.6.1). > > > > > Any idea ? > > > > > Cheers > > > -- Fred Sauer f...@allen-sauer.com [] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---