首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Java Web开发 >

哪位大哥帮忙啊,异常:package com.ur.util does not exist

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

哪位大哥帮忙啊,错误: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?
[解决办法]
仔细检查你的包的名字和路径,还有你类里面引入的包的路径。
肯定是那里写错了。

热点排行