DevMode does not support Servlets 3.0: https://github.com/gwtproject/gwt/issues/8456
On Friday, September 25, 2015 at 10:21:06 AM UTC+2, Scarlet wrote: > > Hi, > > I'am using GWT 2.7 with GXT 3 for my application, > > I follow steps described in this link : ( > http://piotrnowicki.com/2011/03/using-servlets-3-0-servletcontainerinitializer/ > > ), to create a jar file that contain a java class aim to configure > "context-param" of my application using ServletContainerInitializer > Interface. > > The jar file produced work fine in WAR mode with an external Jetty server. > But it not detected when I run the application in the Super DevMode. > > Do you have an idea what I can do to make it work ? > > Thanks in advance > > More details : > > The tree view of my jar > ├── com > │ └── nullhaus > │ └── MyInitializer.class > └── META-INF > └── services > └── javax.servlet.ServletContainerInitializer > > I copy the jar in WEB-INF/lib folder > > If the application server (jetty for example) detect a class that > implement this interface (ServletContainerInitializer) it launch the > onStartup() method automatically. > > > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-web-toolkit. For more options, visit https://groups.google.com/d/optout.
