访问index.jsp可以,数据库也可以了,但就是class的问题,错误如下:org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 146 in the jsp file: /che/list.jsp
shop.Bookinfo cannot be resolved to a type
143:   Vector buyList=(Vector)session.getValue("shoppingcart");
144:   item=request.getParameter("item");
145:   int bookID;
146:   shop.Bookinfo cart=new shop.Bookinfo();
147: 
148:  try
149:   {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
我的tomcat装在D盘,虚拟路径设在E盘,server.xml设置了:
<Context path="/che" docBase="e:\che"   debug="0" reloadable="true" crossContext="true" />
而整个程序是放在E盘的E:\che\che下面,class文件在E:\che\che\WEB-INF\classes\shop这里
不明白为什么会有上面的错误?