奇怪的问题
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我用的都没问题, 怎么这个就出问题了呢?
搜索更多相关主题的帖子:
restaurant java jsp class file
----------------解决方案--------------------------------------------------------
路过,顶一下
----------------解决方案--------------------------------------------------------
看不懂
----------------解决方案--------------------------------------------------------
问题很简单,JSP生成SERVLET的时候出现了错误!
我没有用过JCreatorV3做网站,所以具体怎么解决也帮不了你
----------------解决方案--------------------------------------------------------
回复 1# 的帖子
贴贴代码看看! ----------------解决方案--------------------------------------------------------