HELP! Problems with JSP compilation under SunONE 4
Hallo,
Since I've upgraded from Forte CE 3.0 to Sun One 4, I can't compile my JSPs any longer. Problem is, that any supporting class I'm using, is not found by the servlet-compiler. (error: 'Cannot resolve symbol').
This error occurs while compiling the generated servlet.
The supporting class resides in the same directory as the JSP and is already compiled to a .class file. But the compiler ( Tomcat 4.0 ?) did not find it.
Tried a lot of setting according classpath etc. but nothing worked. Installed all in three systems, everywhere the same!
I'm using: Win2000, JDK 1.4.0_01 and SunONE 4.
Same stuff worked without problems with Forte CE 3.0 !
Any ideas ?
Best regards
Markus Rahlff
************************************JSP Code:
<%@page contentType="text/html"%>
<%-- <jsp:useBean id="beanInstanceName" scope="session" class="package.class" /> --%>
<%-- <jsp:getProperty name="beanInstanceName" property="propertyName" /> --%>
<%
Test t=new Test(); // This line does not compile 'cannot resolve symbol' out.println(t.result();
%>
*************************************** Error Message:
myfirstjsp$jsp.java [76:1] cannot resolve symbol symbol : class Test location: class org.apache.jsp.myfirstjsp$jsp Test t=new Test();
myfirstjsp$jsp.java [76:1] cannot resolve symbol symbol : class Test location: class org.apache.jsp.myfirstjsp$jsp Test t=new Test();
**************************** class file:
public class Test {
public String result() { return "Hallo world"; }
} // end of class

