当前位置: 技术问答>java相关
一个莫名其妙的怪问题?怎么办,快来帮帮忙,好吗? 谢谢!!!!!!!!!!!!
来源: 互联网 发布时间:2015-07-02
本文导语: 从别人那里考来一个类包。结构是: ioffice.right.*; ioffice.user.*; ioffice.plan.*;。。。。。。 在jsp文件中引用ioffice.user.plan,ioffice.plan.*。。。。。都好使, 惟独调用right包下的类文件不好使。同样的目录结构在别人机器上...
从别人那里考来一个类包。结构是:
ioffice.right.*;
ioffice.user.*;
ioffice.plan.*;。。。。。。
在jsp文件中引用ioffice.user.plan,ioffice.plan.*。。。。。都好使,
惟独调用right包下的类文件不好使。同样的目录结构在别人机器上都好用。(我的也好用,惟独ioffice.right.下的不好使。路径配置无任何问题,要不别的类不能好使,这点肯定)
是iplanet web server.
错误日志文件如下:
[27/Jun/2001:17:00:12] failure ( 680): Internal error: servlet service function had thrown ServletException (uri=/ioffice/zhyw/gzjh/index.jsp): org.apache.jasper.JasperException: Unable to compile class for JSPD:iofficeWEB-INFclassesiofficerightRightValid.java:1: The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or apply native2ascii utility to make source file ASCII encoding.
error: File D:iofficeWEB-INFclassesiofficerightRightValid.java does not contain type ioffice.right.RightValid as expected. Please adjust the class path so that the file does not appear in the package iofficeright.
..ClassCachehttps-speed001ioffice_jsps_zhyw_gzjh_index_jsp.java:17: Class ioffice.right.RightValid not found in import.
import ioffice.right.RightValid;
^
3 errors
, stack: org.apache.jasper.JasperException: Unable to compile class for JSPD:iofficeWEB-INFclassesiofficerightRightValid.java:1: The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or apply native2ascii utility to make source file ASCII encoding.
error: File D:iofficeWEB-INFclassesiofficerightRightValid.java does not contain type ioffice.right.RightValid as expected. Please adjust the class path so that the file does not appear in the package iofficeright.
..ClassCachehttps-speed001ioffice_jsps_zhyw_gzjh_index_jsp.java:17: Class ioffice.right.RightValid not found in import.
import ioffice.right.RightValid;
^
3 errors
我现在所怀疑的是日志中说的encoding问题,我机器还装了weblogic 6.1这和错误有关系吗??
帮帮忙!。谢谢!!!!!!
ioffice.right.*;
ioffice.user.*;
ioffice.plan.*;。。。。。。
在jsp文件中引用ioffice.user.plan,ioffice.plan.*。。。。。都好使,
惟独调用right包下的类文件不好使。同样的目录结构在别人机器上都好用。(我的也好用,惟独ioffice.right.下的不好使。路径配置无任何问题,要不别的类不能好使,这点肯定)
是iplanet web server.
错误日志文件如下:
[27/Jun/2001:17:00:12] failure ( 680): Internal error: servlet service function had thrown ServletException (uri=/ioffice/zhyw/gzjh/index.jsp): org.apache.jasper.JasperException: Unable to compile class for JSPD:iofficeWEB-INFclassesiofficerightRightValid.java:1: The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or apply native2ascii utility to make source file ASCII encoding.
error: File D:iofficeWEB-INFclassesiofficerightRightValid.java does not contain type ioffice.right.RightValid as expected. Please adjust the class path so that the file does not appear in the package iofficeright.
..ClassCachehttps-speed001ioffice_jsps_zhyw_gzjh_index_jsp.java:17: Class ioffice.right.RightValid not found in import.
import ioffice.right.RightValid;
^
3 errors
, stack: org.apache.jasper.JasperException: Unable to compile class for JSPD:iofficeWEB-INFclassesiofficerightRightValid.java:1: The source file encoding may be different with this platform encoding. Please use -encoding option to adjust file encoding, or apply native2ascii utility to make source file ASCII encoding.
error: File D:iofficeWEB-INFclassesiofficerightRightValid.java does not contain type ioffice.right.RightValid as expected. Please adjust the class path so that the file does not appear in the package iofficeright.
..ClassCachehttps-speed001ioffice_jsps_zhyw_gzjh_index_jsp.java:17: Class ioffice.right.RightValid not found in import.
import ioffice.right.RightValid;
^
3 errors
我现在所怀疑的是日志中说的encoding问题,我机器还装了weblogic 6.1这和错误有关系吗??
帮帮忙!。谢谢!!!!!!
|
path = .;D:iofficeWEB-INFclassesioffice
不要最后
不要最后