Hi to all, I am new to MyEclipse IDE and Struts. I am developing a Login form. In that i need to test the user entered details from Databse. My Database is PostgreSQL. I tested with a java program and i am sucessfully retriving data from database. But when i am trying to access from loginForm.java of struts i am getting the following errors.
SEVERE: Servlet.service() for servlet action threw exception java.lang.UnsupportedClassVersionError: Bad version number in .class file java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(Unknown Source) java.security.SecureClassLoader.defineClass(Unknown Source) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1817) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:872) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1325) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1204) java.lang.ClassLoader.loadClassInternal(Unknown Source) java.lang.Class.forName0(Native Method) java.lang.Class.forName(Unknown Source) com.yourcompany.struts.action.LoginAction.execute(LoginAction.java:43) org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) Can any one tell what is the exact problem and how to resolve it. I am waiting for your valuabel replies. -- Regards, Narasimha Raju.Naidu Hyderabad India uni...