EncodingFilter Could not get JDBC Connection; nested exception is java.sql。。。

来源:百度知道 编辑:UC知道 时间:2024/06/08 16:07:17
请问高手~~~这是什么问题??
是我做的毕业设计--企业门户网站,登陆后台的时候报的错~~我用的是Struts和Spring框架
出现了新的错误

HTTP Status 404 - Servlet action is not available

--------------------------------------------------------------------------------

type Status report

message Servlet action is not available

description The requested resource (Servlet action is not available) is not available.

这是什么问题??

哦,对,连数据库的代码是从别的地方拷的

看一看数据库直接用客户端能不能正常访问,如果不能那就是数据库挂了,如果能的话,看看数据库连接字符串是不是写得不对。EncodingFilter是不是从别的地方copy过来的时候把人家的数据库连接也copy过来了

楼上正解,或者看看数据库配置文件,是否自己当前用的

不能得到JDBC连接,
也就是说没有连上数据库,