Batch error reporting in Java spring

1、 Questions

Error in starting batch task:

ERROR [com.alibaba.druid.pool.DruidDataSource]
 - {dataSource-1} init error java.sql.SQLException: oracle.jdbc.OracleDriver

2、 Solution

1. The reason is that I don’t have the jar package driven by JDBC, so I found a few on the Internet and asked me to download Ojdbc14 or ojdbc7. 14 is finished, but it’s useless. Ojdbc7 is the wrong version. Later, I opened the library and found that there are problems with both downloads;

You can only delete these invalid jar packages, and then find a JDBC 6 jar package to put on. The result is OK;

Read More: