I had developed a java web application on jdk1.5.
I used eclipse IDE for the development purpose. And when am running the application through eclipse, its working properly, no issues am facing. But when am trying to deploy the same application as war file in the same machine's tomcat server, its throwing some error like Bad version number in .class file
or in some other time i will get error message like java.lang.NoClassDefFoundError
.
This is what am getting in the stack trace.
javax.servlet.ServletException: Servlet execution threw an exception
root cause
java.lang.NoClassDefFoundError
com.bdisys.auditservice.manager.AuditServiceManager.updateAuditServiceDetails(AuditServiceManager.java:46)
com.bdisys.auditservice.servlet.AuditServiceHandler.doPost(AuditServiceHandler.java:45)
com.bdisys.auditservice.servlet.AuditServiceHandler.doGet(AuditServiceHandler.java:34)
javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Am attaching my project config for Java compiler settings.
Can anyone give suggestions to resolve this strange issue.?