Hi, I've just finished installing the JBoss AS 4.0.5.GA using the JEMS installer and I configured it to install the ejb 3.0 profile.
After completing the installation, I deployed my application to the Application Server. Upon trying to run the application however, I encounter the following exception. org.apache.jasper.JasperException: Unable to compile class for JSP | | An error occurred at line: 2 in the jsp file: /menu.jsp | Generated servlet error: | The type List is not generic; it cannot be parameterized with arguments <String> | | An error occurred at line: 2 in the jsp file: /menu.jsp | Generated servlet error: | Syntax error, parameterized types are only available if source level is 5.0 | | An error occurred at line: 2 in the jsp file: /menu.jsp | Generated servlet error: | The type List is not generic; it cannot be parameterized with arguments <String> | | An error occurred at line: 2 in the jsp file: /menu.jsp | Generated servlet error: | Syntax error, parameterized types are only available if source level is 5.0 | | An error occurred at line: 320 in the jsp file: /menu.jsp | Generated servlet error: | Incompatible conditional operand types Long and String | | An error occurred at line: 326 in the jsp file: /menu.jsp | Generated servlet error: | Incompatible conditional operand types Long and String | | | org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) | javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) I do not know why it asks me for a source level of 5.0. I have the Java 1.5.0_12 SDK installed and my JAVA_HOME environment variable points to the installation directory. I have searched my registry to check if the JVM version points to an incorrect version, but haven't found anything yet. I am not sure about configuration options of the Tomcat server though. Do I need to change any settings to point tomcat to the right resource for the JDK? I am on a Windows Vista Home Premium machine. Please help. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072868#4072868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072868 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
