gwt-dev is not on my servelt classpath but on my project classpath used to run Junit tests with maven. I need gwt-dev in project classpath to lauch the hosted mode using an eclipse lauch configuration. Maybe you know a better alternative ?
On Wed, Mar 11, 2009 at 3:30 PM, John Tamplin <j...@google.com> wrote: > On Wed, Mar 11, 2009 at 10:26 AM, nicolas de loof < > nicolas.del...@gmail.com> wrote: > >> I just was warned by my dev team about an issue with gwt-dev.jar : >> This jar contains som apache libs, and our application (for gwt-rpc >> services) also uses commons-collection, but with a distinct version. >> When we run the server side unit tests we get NoSuchMethodError as the >> gwt-dev jar comes prior in classpath than the commons-collections one, but >> as maven user we have no way to order dependencies :'( >> > > Why do you need gwt-dev on your servlet classpath? You should only need > gwt-servlet.jar. > > Did you consider to repackage the gwt-dev dependencies using jarjar ( >> http://code.google.com/p/jarjar/) to avoid such very disapointing issue >> for newbees ? apache commons are very common in webapps ! >> > > Yes, and we found that jarjar broke many things since it can't see > dynamically generated classnames (such as jetty loading classnames from an > XML file), native methods no longer work, etc. > > -- > John A. Tamplin > Software Engineer (GWT), Google > > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---