I have a simple jsp that looks similar to the following:
…
<jsp:useBean id=”mainBean” class=”package.MainBean”>
<jsp:setProperty name=”mainBean” property=”basePath” value=”<%=basePath%>” />
<jsp:setProperty name=”mainBean” property=”clientId” param=”clientId”/>
<jsp:setProperty name=”mainBean” property=”sessionId” param=”sessionId”/>
</jsp:useBean>
<jsp:setProperty name=”mainBean” property=”skinId” param=”skinId”/>
<jsp:getProperty name=”mainBean” property=”doc”/>
MyEclipse is stubbornly insisting that “package.MainBean” does not have a getDoc() accessor, which it does. The error messsage is simply “package.getDoc()”, not very helpful but in the past this has meant that the reference property acessor did not exist and I could always set things right by recompiling jsps or the entire project. Even though MyEclipse is flagging the error the project deploys and runs fine under Jetty. I’m using Version: 2.7.1 Build id: 200403241200-2.7.1-GA, Eclipse 2.1.3 on Linux.
Any ideas?
Thanks!
Brandon