Hello, 

I am running 4.0.4RC1 on Fedora with java 1.5.0_06, and the EJB3 install.

I have an EJB-method that returns a List and a JSP that does
ist users= feed.getLastLogins();

I can compile and build fine, but when i deploy and try to call the JSP, i get 
the following trace: 


org.apache.jasper.JasperException: Unable to compile class for JSP

An error occurred at line: 19 in the jsp file: /testejb.jsp
Generated servlet error:
The type List is not generic; it cannot be parameterized with arguments 

An error occurred at line: 19 in the jsp file: /testejb.jsp
Generated servlet error:
Syntax error, parameterized types are only available if source level is 5.0


        
org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
        
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:328)
        
org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:409)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:288)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
        org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
        
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
        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 can't see why this is the case, to me it should work... Do i need to 
configure something differently, or is this a bug?

As always grateful for pointers. Thanks, 

/Mathias af Jochick

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933978#3933978

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933978


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to