想你的天空 发表于 2006-4-16 13:02

奇怪的问题

Generated servlet error:<BR>    [javac] Compiling 1 source file<BR><BR>D:\java\JCreatorV3\tomcat\work\Catalina\localhost\restaurant\org\apache\jsp\restaurantLogin_jsp.java:44: cannot access restaurant.DBCon<BR><BR><BR><BR>An error occurred at line: 4 in the jsp file: /restaurantLogin.jsp<BR><BR>Generated servlet error:<BR>bad class file: D:\java\JCreatorV3\tomcat\webapps\restaurant\WEB-INF\classes\restaurant\DBCon.class<BR>class file contains wrong class: DBCon<BR>Please remove or make sure it appears in the correct subdirectory of the classpath.<BR>      restaurant.DBCon con = null;<BR>                ^<BR>1 error<BR><BR><BR><BR>//  这个bean怎么出问题啊, 路径好像没错, 其他的javabean我用的都没问题, 怎么这个就出问题了呢?

论坛元老 发表于 2008-4-2 16:24

路过,顶一下

mlphao 发表于 2008-4-2 16:37

看不懂

witer 发表于 2008-4-2 17:31

问题很简单,JSP生成SERVLET的时候出现了错误!
我没有用过JCreatorV3做网站,所以具体怎么解决也帮不了你

Ethip 发表于 2008-4-6 16:42

回复 1# 的帖子

贴贴代码看看!

页: [1]

编程论坛