Jsp 找不到Beans 问题,请帮忙解决一下!!!
我在Tomcat 根目录的 \webapps\ROOT\ 下放了一个记事本程序文件夹 \gb ,程序是可以运行的(原来可以运行,重装了一边Tomcat之后总是提示如下错误:
我的 \gb 文件夹下的 \WEB-INF\classes\com\guestbook 里又那几个Beans,可是它为什么说缺少文件呢? 是不是 Tomcat 有什么地方什么要重新配置一下啊??? 请指正,谢谢!!
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1 in the jsp file: /gb/index.jsp
Generated servlet error:
[javac] Compiling 1 source file
C:\Tomcat\work\Standalone\localhost\_\gb\index_jsp.java:43: package com.guestbook does not exist
com.guestbook.DBConnection DBConnection = null;
^