Techiio-author
Started by Debarghya DasSep 15, 2021

Open
How to create a Batch project that doesn't need a data source?

0 VIEWES 0 LIKES 0 DISLIKES SHARE
0 LIKES 0 DISLIKES 0 VIEWES SHARE

I am creating a batch project that does not have a need to hit a database and when I run a context load, I get an exception

"Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class".

I believe that there are a few dependencies like spring-data-jpa, that may require a data source to be supplied within my project and when I add a random data source, my context loads just fine.

0 Replies

You must be Logged in to reply
Techiio-logo

Techiio is on the journey to build an ocean of technical knowledge, scouring the emerging stars in process and proffering them to the corporate world.

Follow us on:

Subscribe to get latest updates

You can unsubscribe anytime from getting updates from us
Developed and maintained by Wikiance
Developed and maintained by Wikiance