Home > Back-end >  Help!!!!! UnsatisfiedDependencyException: Error creating bean with the name 'dataSource'
Help!!!!! UnsatisfiedDependencyException: Error creating bean with the name 'dataSource'

Time:10-06

Unexpected exception arised, the error error creating bean with the name 'org. Springframework. Boot. Autoconfigure. Orm. Jpa. HibernateJpaConfiguration' : Unsatisfied dependency expressed through the constructor parameter 0; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'dataSource' defined in the class path resource [org/springframework/boot/autoconfigure/JDBC/DataSourceConfiguration $Hikari. Class] : Unsatisfied dependency expressed through method 'dataSource' parameter 0; Nested exception is org. Springframework. Boot. The context. The properties. ConfigurationPropertiesBindException: Error creating bean with the name 'spring. The datasource - org. Springframework. Boot. Autoconfigure. JDBC. DataSourceProperties' : Could not bind the properties to' DataSourceProperties: prefix=spring. The datasource, ignoreInvalidFields=false, ignoreUnknownFields=true; Nested exception is Java. Lang. An IllegalStateException: org. Springframework. Boot. Web. Servlet. Context. AnnotationConfigServletWebServerApplicationContext @ bcec361 from had been refreshed yet {}
  • Related