Problem with assert compiling java 1.4 into Eclipse IDE...

Patrick Gelin patrick.gelin at free.fr
Tue Nov 1 22:40:52 PST 2005


hi,

I'm compiling a JSP page including a JAVA scriptlet. I'm using eclipse IDE
3.1 with Java compiler 1.4. But into this page I've got the error code
below:

2        cannot resolve symbol:  symbol  : method assert (boolean)      index.jsp       

The line is:

assert(request.getAttribute("org.portletapi.contextid") != null);

What can I do?

Thanks for your response.




More information about the freebsd-java mailing list