Friday, September 25, 2015

Jar file detected in WAR but not in DevMode


I'am using GWT 2.7 with GXT 3 for my application,

I follow steps described in this link : (  ), 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
    └── 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
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment