title: spring application Could not load JDBC driver class :oracle.jdbc.driver.OracleDriver
body: <p>I am new to spring and developing spring jdbc application. but driver class is not loaded. am getting exception that</p>
  
  <p>org.springframework.beans.MethodInvocationException: Property 'driverClassName' threw exception; nested exception is java.lang.IllegalStateException: Could not load JDBC driver class [oracle.jdbc.driver.OracleDriver]</p>
  
  <p>and my xml file is as follows:
      
      
      </p>
  
  <pre><code>&lt;bean id="ds" class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
  &lt;property name="driverClassName" value="oracle.jdbc.driver.OracleDriver"/&gt;
  &lt;property name="url" value="jdbc:oracle:thin:@localhost:1521:xe" /&gt;
  &lt;property name="username" value="system" /&gt;
  property name="password" value="surekha" /&gt;  
  &lt;/bean&gt;
  
  &lt;bean id="jdbcTemplate" class="org.springframework.jdbc.core.JdbcTemplate"&gt;
  &lt;property name="dataSource" ref="ds"&gt;&lt;/property&gt;
  &lt;/bean&gt;
  
  &lt;bean id="edao" class="EmployeeDao"&gt;
  &lt;property name="jdbcTemplate" ref="jdbcTemplate"&gt;&lt;/property&gt;
  &lt;/bean&gt;
  
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>anyone help me to this problem. thanks in advance.</p>