Announcement Announcement Module
Collapse
No announcement yet.
Problem finding a custom "WebApplicationInitializer" implementation Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem finding a custom "WebApplicationInitializer" implementation

    Hi,

    Using embedded jetty (version 8), trying to make the new programmable Servlet 3 to work. I'm using:


    WebAppContext context = new WebAppContext();
    server.setHandler(context);

    context.setConfigurations(new org.eclipse.jetty.webapp.Configuration[] {new AnnotationConfiguration()});

    I have a class implementing "WebApplicationInitializer", but it is not picked up automatically as it should and onStartUp is not called.

    Any ideas?
Working...
X