我正在处理Java中的SEVERE异常,如下所示:
SEVERE: Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'birtReportRenderer': Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire method: public void com.convergys.raspberry.server.filemgmt.FileWorker.setFileAuditTbl(com.convergys.raspberry.server.database.FileAuditTbl);
nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'fileAuditTbl': Invocation of init method failed;
nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Could not get JDBC Connection;
nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot load JDBC driver class 'org.postgresql.Driver'
所有这些嵌套的异常都像这样:
exception; exception; exception; etc.
这里的事件顺序是什么? 我应该查看最后一个嵌套异常并处理JDBC,还是应该从第一个异常开始还是应该在其他地方查找?
请让我知道是否需要更多信息。
谢谢。