| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 598 人关注过本帖
标题:[求助]求助J2ee
只看楼主 加入收藏
小强338
Rank: 1
等 级:新手上路
帖 子:1
专家分:0
注 册:2006-7-14
收藏
 问题点数:0 回复次数:1 
[求助]求助J2ee

type Exception report

message

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

Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:6: package com.wxpn.tutorial.db does not exist
import com.wxpn.tutorial.db.DB;
^


Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:7: package com.wxpn.tutorial.db does not exist
import com.wxpn.tutorial.db.ConnectionPool;
^


An error occurred at line: 14 in the jsp file: /LoginProject/LoginProject/WebContent/verifylogin.jsp
Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:70: cannot resolve symbol
symbol : class ConnectionPool
location: class org.apache.jsp.LoginProject.LoginProject.WebContent.verifylogin_jsp
ConnectionPool connPool = DB.getConnPool();
^


An error occurred at line: 14 in the jsp file: /LoginProject/LoginProject/WebContent/verifylogin.jsp
Generated servlet error:
D:\Program Files\workspace\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\work\Catalina\localhost\test\org\apache\jsp\LoginProject\LoginProject\WebContent\verifylogin_jsp.java:70: cannot resolve symbol
symbol : variable DB
location: class org.apache.jsp.LoginProject.LoginProject.WebContent.verifylogin_jsp
ConnectionPool connPool = DB.getConnPool();
^
4 errors

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:84)
org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:332)
org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:412)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:472)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:451)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:511)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


note The full stack trace of the root cause is available in the Apache Tomcat/5.0.28 logs.

搜索更多相关主题的帖子: localhost message request package server 
2006-07-14 21:33
可可℃乐
Rank: 2
等 级:新手上路
威 望:3
帖 子:1054
专家分:0
注 册:2006-5-9
收藏
得分:0 
你的SERVLET写的有问题,报出来的错误就是那里出错了

[url=http://www.]网页设计教程[/url]
2006-07-19 10:40
快速回复:[求助]求助J2ee
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.025510 second(s), 7 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved