注册 登录
编程论坛 J2EE论坛

奇怪的问题

想你的天空 发布于 2006-04-16 13:02, 1087 次点击
Generated servlet error:
[javac] Compiling 1 source file

D:\java\JCreatorV3\tomcat\work\Catalina\localhost\restaurant\org\apache\jsp\restaurantLogin_jsp.java:44: cannot access restaurant.DBCon



An error occurred at line: 4 in the jsp file: /restaurantLogin.jsp

Generated servlet error:
bad class file: D:\java\JCreatorV3\tomcat\webapps\restaurant\WEB-INF\classes\restaurant\DBCon.class
class file contains wrong class: DBCon
Please remove or make sure it appears in the correct subdirectory of the classpath.
restaurant.DBCon con = null;
^
1 error



// 这个bean怎么出问题啊, 路径好像没错, 其他的javabean我用的都没问题, 怎么这个就出问题了呢?
4 回复
#2
论坛元老2008-04-02 16:24
路过,顶一下
#3
mlphao2008-04-02 16:37
看不懂
#4
witer2008-04-02 17:31
问题很简单,JSP生成SERVLET的时候出现了错误!
我没有用过JCreatorV3做网站,所以具体怎么解决也帮不了你
#5
Ethip2008-04-06 16:42
回复 1# 的帖子
贴贴代码看看!
1