日期:2014-05-18  浏览次数:20699 次

紧急~~JSP问题~~
请问下面这种错误应该怎样解决?
谢谢~~~

org.apache.jasper.JasperException:   Unable   to   compile   class   for   JSP

An   error   occurred   at   line:   5   in   the   jsp   file:   /chapter06/book/index.jsp

Generated   servlet   error:
        [javac]   Compiling   1   source   file

C:\Program   Files\Apache   Software   Foundation\Tomcat   5.0\work\Catalina\localhost\TestJSP\org\apache\jsp\chapter06\book\index_jsp.java:7:   ???   org.pan.web.book   ???
import   org.pan.web.book.bookclass;
                                              ^
C:\Program   Files\Apache   Software   Foundation\Tomcat   5.0\work\Catalina\localhost\TestJSP\org\apache\jsp\chapter06\book\index_jsp.java:48:   ???   org.pan.web   ???
            org.pan.web.bookclasslist   classlist   =   null;
                                  ^


An   error   occurred   at   line:   5   in   the   jsp   file:   /chapter06/book/index.jsp

Generated   servlet   error:
C:\Program   Files\Apache   Software   Foundation\Tomcat   5.0\work\Catalina\localhost\TestJSP\org\apache\jsp\chapter06\book\index_jsp.java:50:   ???   org.pan.web   ???
                classlist   =   (org.pan.web.bookclasslist)   _jspx_page_context.getAttribute( "classlist ",   PageContext.PAGE_SCOPE);
                                                                ^


An   error   occurred   at   line:   5   in   the   jsp   file:   /chapter06/book/index.jsp

Generated   servlet   error:
C:\Program   Files\Apache   Software   Foundation\Tomcat   5.0\work\Catalina\localhost\TestJSP\org\apache\jsp\chapter06\book\index_jsp.java:52:   ???   org.pan.web   ???
                    classlist   =   new   org.pan.web.bookclasslist();
                                                                          ^


An   error   occurred   at   line:   43   in   the   jsp   file:   /chapter06/book/index.jsp

Generated   servlet   error:
C:\Program   Files\Apache   Software   Foundation\Tomcat   5.0\work\Catalina\localhost\TestJSP\org\apache\jsp\chapter06\book\index_jsp.java:99:   ?????
???   ?   bookclass
???   ?   org.apache.jsp.chapter06.book.index_jsp
bookclass   bc   =   (bookclass)   classlist.getClasslist().elementAt(i);  
^


An