title: Nested Exception in Java
body: <p>I'm dealing with a SEVERE exception in Java that looks like this:</p>
  
  <pre><code>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'
  </code></pre>
  
  <p>All this nested exceptions were in line like this:</p>
  
  <pre><code>exception; exception; exception; etc.
  </code></pre>
  
  <p>What is the sequence of events here? Should I look to the last nested exception and deal with the JDBC, should I start with the first exception or should I look someplace else?</p>
  
  <p>Please, let me know if you need more information.</p>
  
  <p>Thanks.</p>