Hi there,
I have a problem here and no clue what's the reason.
Since we migrated our JSPs from Tomcat4 to Tomcat5 we have the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
/usr/share/tomcat/work/Catalina/xxx.internet.hxxxd.com/_/org/apache/jsp/Hxxxt/ com.xxx.xxx.util.Constants is already defined in a single-type import
import com.xxx.xxx.navigation.Constants;
The problematic line in the jsp is:
<%@ page import="com.xxx.xxx.navigation.Constants"%>
Is there a change in Tomcat4 to 5 which causes the jasper compiler to fail? If so, is there a workaround? We don't want to change all of our jsp sites because there are lots of them.
Thanks in advance.
Cheers,
Mikum
I have a problem here and no clue what's the reason.
Since we migrated our JSPs from Tomcat4 to Tomcat5 we have the following error:
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: -1 in the jsp file: null
Generated servlet error:
[javac] Compiling 1 source file
/usr/share/tomcat/work/Catalina/xxx.internet.hxxxd.com/_/org/apache/jsp/Hxxxt/ com.xxx.xxx.util.Constants is already defined in a single-type import
import com.xxx.xxx.navigation.Constants;
The problematic line in the jsp is:
<%@ page import="com.xxx.xxx.navigation.Constants"%>
Is there a change in Tomcat4 to 5 which causes the jasper compiler to fail? If so, is there a workaround? We don't want to change all of our jsp sites because there are lots of them.
Thanks in advance.
Cheers,
Mikum