写的类在win2000下没错,在linux下出错。。我在win2000下用的tomcat5.0和jdk1.5,而linux下是tomcat4.1和jdk1.4
_____________________________________________configuration error for request URI /
2006-11-22 08:51:48 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:52:35 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:52:45 Stream closed
2006-11-22 08:53:42 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:54:28 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:54:52 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:55:13 Stream closed
2006-11-22 08:55:23 Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /SCHB/DlTable/dlfxb.jsp
Generated servlet error:
[javac] Compiling 1 source file
[javac] /usr/jakarta-tomcat-4.1.31/work/Standalone/localhost/dtsc/SCHB/DlTable/dlfxb_jsp.java:56: cannot access schb.dlfx
[javac] bad class file: /usr/dtsc/WEB-INF/classes/schb/dlfx.class
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] schb.dlfx ComList = null;
[javac] ^
[javac] 1 error
2006-11-22 08:55:33 Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /SCHB/DlTable/dlfxb.jsp
Generated servlet error:
[javac] Compiling 1 source file
[javac] /usr/jakarta-tomcat-4.1.31/work/Standalone/localhost/dtsc/SCHB/DlTable/dlfxb_jsp.java:56: cannot access schb.dlfx
[javac] bad class file: /usr/dtsc/WEB-INF/classes/schb/dlfx.class
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] schb.dlfx ComList = null;
[javac] ^
[javac] 1 error
2006-11-22 08:56:00 StandardHost[localhost]: MAPPING configuration error for request URI /
_____________________________________________configuration error for request URI /
2006-11-22 08:51:48 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:52:35 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:52:45 Stream closed
2006-11-22 08:53:42 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:54:28 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:54:52 StandardHost[localhost]: MAPPING configuration error for request URI /
2006-11-22 08:55:13 Stream closed
2006-11-22 08:55:23 Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /SCHB/DlTable/dlfxb.jsp
Generated servlet error:
[javac] Compiling 1 source file
[javac] /usr/jakarta-tomcat-4.1.31/work/Standalone/localhost/dtsc/SCHB/DlTable/dlfxb_jsp.java:56: cannot access schb.dlfx
[javac] bad class file: /usr/dtsc/WEB-INF/classes/schb/dlfx.class
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] schb.dlfx ComList = null;
[javac] ^
[javac] 1 error
2006-11-22 08:55:33 Unable to compile class for JSP
An error occurred at line: 3 in the jsp file: /SCHB/DlTable/dlfxb.jsp
Generated servlet error:
[javac] Compiling 1 source file
[javac] /usr/jakarta-tomcat-4.1.31/work/Standalone/localhost/dtsc/SCHB/DlTable/dlfxb_jsp.java:56: cannot access schb.dlfx
[javac] bad class file: /usr/dtsc/WEB-INF/classes/schb/dlfx.class
[javac] class file has wrong version 49.0, should be 48.0
[javac] Please remove or make sure it appears in the correct subdirectory of the classpath.
[javac] schb.dlfx ComList = null;
[javac] ^
[javac] 1 error
2006-11-22 08:56:00 StandardHost[localhost]: MAPPING configuration error for request URI /
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货