Resolved - Cannot load driver class: org.h2.Driver in spring boot application | Connecting h2 db

preview_player
Показать описание

If you still getting error in connecting h2 db in Spring boot, try to write the db source properties manually. It will get resolved.
Рекомендации по теме
Комментарии
Автор

Issue is : spaces at the end of each line of app.properoties file. Just remove it and it works

arjundkumar
Автор

Thanks alot I was frustrated and your video helped. Thanks man

mohdwajahathali
Автор

I write org.h2.driver with "d". Changed to org.h2.Driver with "D" and the error is gone. Thank you haha

sonesaile
Автор

I am trying to make spring boot project using Postgresql but it keep stating that the url or datasource is invalid. Even though the application.properties for Postgresql is correct.

weixiangng