We have the following code in one of our JSP’s and MyEclipseIDE (8.5M2) shows an error on the 1st line and the section marked in bold below is underlined in MyEclipse as an error (the problems pane shows the issue on line 9 which is the empty line before the jsp:useBean statement):
<%@[b] page errorPage="/jsp/err[/b]or/ErrorPage.jsp"
import="com.bidorbuy.bobe.enumlistitem.*"
import="com.bidorbuy.bobe.error.*"
import="com.bidorbuy.bobe.jspclient.*"
import="com.bidorbuy.bobe.list.*"
import="com.bidorbuy.bobe.order.*"
import="com.bidorbuy.bobe.site.*"%>
<%@ taglib uri="/bobe.tld" prefix="bobe" %>
<jsp:useBean id="userToken" scope="request" class="com.bidorbuy.bobe.jspclient.JSPUserToken">
<% userToken.initialise(pageContext); %>
</jsp:useBean>
Another page with similar code (as below) does not report an error:
<%@ page errorPage="/jsp/error/ErrorPage.jsp"
import="com.bidorbuy.bobe.error.*"
import="com.bidorbuy.bobe.enumlistitem.*"
import="com.bidorbuy.bobe.jspclient.*"
import="com.bidorbuy.bobe.query.*"
import="com.bidorbuy.bobe.site.*"
import="com.bidorbuy.bobe.thumbnail.*"
import="com.bidorbuy.bobe.trading.*"
import="com.bidorbuy.bobe.user.*"
import="java.util.*" %>
<%@ taglib uri="/bobe.tld" prefix="bobe" %>
<jsp:useBean id="userToken" scope="request" class="com.bidorbuy.bobe.jspclient.JSPUserToken">
<% userToken.initialise(pageContext); %>
</jsp:useBean>