V
V
vitya_brodov2021-06-22 16:00:48
PostgreSQL
vitya_brodov, 2021-06-22 16:00:48

How to deal with the error: Error creating bean with name 'dataSourceScriptDatabaseInitializer' defined in class path?

Hello!
when connecting postgresql to intellij idea, it throws an error at startup:
60d1dead6f271916661395.png
in properties, everything seems to be fine:
spring.datasource.url= jdbc:postgresql://localhost:8080/postgres
spring.datasource.username=postgres
spring.datasource.password=** ***********
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
vitya_brodov, 2021-06-22
@vitya_brodov

I decided! it turns out I forgot to add postgresql-driver as a dependency))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question