L
Laurent Leconte
Hi all, I'm having trouble with a JSP page.
The page includes the following lines :
<%@ page import = "data.DispGestores" %>
<%@ page import = "data.DispGestoresBean" %>
I put DispGestores.class and DispGestoresBean.class in
WEB-INF/classes/data, and the source for both class begins with
"package data;".
But when I try to load the page with Tomcat 4.1.27, I get the
following error message :
org.apache.jasper.JasperException: No se puede compilar la clase para
JSP
An error occurred at line: 4 in the jsp file: /oratest.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\DOCUME~1\lleconte\CONFIG~1\Temp\oratest_jsp.java:7: package data
does not exist
import data.DispGestores;
^
C:\DOCUME~1\lleconte\CONFIG~1\Temp\oratest_jsp.java:8: package data
does not exist
import data.DispGestoresBean;
^
.... (more "package data
8 errors
[rest of the error message snipped]
Does anyone have any suggestions as what went wrong? As far as I can
make out, I've used the exact same setup in other pages without
problems. Where did I go wrong ?
The page includes the following lines :
<%@ page import = "data.DispGestores" %>
<%@ page import = "data.DispGestoresBean" %>
I put DispGestores.class and DispGestoresBean.class in
WEB-INF/classes/data, and the source for both class begins with
"package data;".
But when I try to load the page with Tomcat 4.1.27, I get the
following error message :
org.apache.jasper.JasperException: No se puede compilar la clase para
JSP
An error occurred at line: 4 in the jsp file: /oratest.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\DOCUME~1\lleconte\CONFIG~1\Temp\oratest_jsp.java:7: package data
does not exist
import data.DispGestores;
^
C:\DOCUME~1\lleconte\CONFIG~1\Temp\oratest_jsp.java:8: package data
does not exist
import data.DispGestoresBean;
^
.... (more "package data
8 errors
[rest of the error message snipped]
Does anyone have any suggestions as what went wrong? As far as I can
make out, I've used the exact same setup in other pages without
problems. Where did I go wrong ?