日期:2014-05-18  浏览次数:20671 次

哪位大哥帮忙啊,错误:package com.ur.util does not exist
最近我做了一些页面上传到服务器(linux)后,竟然提示这样的错误:

package com.ur.util does not exist
import com.ur.util.*;


我真的很想不通呀,在这个系统上的其他页面都是没有问题的,而且这些页面在本地显示都没有问题。但是传上去就会报错哦?!
具体的提示错误在一下面:
哪位大哥帮帮我呀!!

500 Servlet Exception

[show] /home/oracle/resin/webapps/mcheck/WEB-INF/work/_jsp/_current_0work__jsp.java:10:
package com.ur.util does not exist
import com.ur.util.*;
^
/current_work.jsp:40: cannot find symbol
symbol : class DB
location: class _jsp._current_0work__jsp
  DB db = new DB();
  ^
/current_work.jsp:40: cannot find symbol
symbol : class DB
location: class _jsp._current_0work__jsp
  DB db = new DB();
  ^
/current_work.jsp:42: cannot find symbol
symbol : class Format
location: class _jsp._current_0work__jsp
  Format format = new Format();
  ^
/current_work.jsp:42: cannot find symbol
symbol : class Format
location: class _jsp._current_0work__jsp
  Format format = new Format();
  ^
5 errors

com.caucho.jsp.JspParseException: /home/oracle/resin/webapps/mcheck/WEB-INF/work/_jsp/_current_0work__jsp.java:10:
package com.ur.util does not exist
import com.ur.util.*;

.
.
.

------解决方案--------------------
可能是路径的问题了。
UP
关注中......
------解决方案--------------------
确定有com.ur.utils?
------解决方案--------------------
仔细检查你的包的名字和路径,还有你类里面引入的包的路径。
肯定是那里写错了。