- This topic has 1 reply, 2 voices, and was last updated 14 years, 8 months ago by support-joy.
-
AuthorPosts
-
Gerd W. NaschenwengParticipantWe 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>
support-joyMemberGNaschenweng,
Are both the files in the same file path? I would recommend you do the following. Right click on the project and click on Refresh. From MyEclipse IDE click on Project > Clean. Next open the erroneous file, right click on the file and from the context menu click on Source > Clean Up, right click again and click on Source > Format. Next right click and click on Quick Fix. Let me know if this resolves your issue.
If the above doesn’t resolve your issue, open your problems tab. Look for the error reported. Can you attach a screenshot. Also open your .log file located at [your workspace dir]/.metadata/.log and look for any relevant issue logged. If yes, copy and paste the same here. -
AuthorPosts