Failed to load application class

File structure of web project is in the attachments,follwing are my web.xml


<?xml version="1.0" encoding="UTF-8"?> CalenderDemo Vaadin production mode productionMode false Calenderdemo Application com.vaadin.terminal.gwt.server.ApplicationServlet Vaadin application class to start application com.example.calenderdemo.CalenderDemo Calenderdemo Application /* Calenderdemo Application /VAADIN/* index.html index.htm index.jsp default.html default.htm default.jsp [/i]


javax.servlet.ServletException: Failed to load application class: com.example.calenderdemo.CalenderDemo
11388.bmp (506 KB)

I have no idea what is wrong,who can help me ?

  <servlet-name>Calenderdemo Application</servlet-name>
  <servlet-name>Calenderdemo Application</servlet-name>

mapping same servlet twice; is that intentional? I dont mean to say this is causing the problem. But in my app, i see only one mapping.

PS: please use code button to wrap code, that way it will be easily readable.

Problem is on ur pom file … ur servlet class is not compile properly , if u r using java 1.6 or above then go to pom.xml and change the vrsion and then compile ur source code and ten run it will work hopefully