user3356061
user3356061

Reputation: 21

ICEPush break's Vaadin 7 application

I have

    <dependency>
        <groupId>org.vaadin.addons</groupId>
        <artifactId>icepush</artifactId>
        <version>0.5.5</version>
    </dependency>

in my pom.xml.

Application starting with servlet

@WebServlet(urlPatterns = "/*", asyncSupported = true)
@VaadinServletConfiguration(productionMode = true, ui = TAISUI.class)
public class ApplicationServlet extends ICEPushServlet implements SessionInitListener {

Application build and deploy completes successfully but when I try to open my app in browser tab I get

java.lang.NoClassDefFoundError: Lorg/icepush/servlet/MainServlet;

I'm using Tomcat 7.0.50, Vaadin 7.1.12. Instead of web.xml I'm using own WebApplicationInitializer implementation with Spring context registration:

public class TaisWebInitializer implements WebApplicationInitializer {
    @Override
    public void onStartup(ServletContext servletContext) throws ServletException {
        AnnotationConfigWebApplicationContext ctx = new AnnotationConfigWebApplicationContext();
        ctx.register(TaisConfiguration.class);
        servletContext.addListener(new ContextLoaderListener(ctx));

        ctx.setServletContext(servletContext);
    }
}

Why do I get java.lang.NoClassDefFoundError: Lorg/icepush/servlet/MainServlet;?

Upvotes: 0

Views: 235

Answers (0)

Related Questions