Errors for UnsatisfiedDependence, access denied for root@localhost with no password.

Error    (org.springframework.beans.factor.UnsatisfiedDependence)                        (java.lang.ClassNotFoundException: Could not load requested class : org.hibernate.dialect.mySQL5Dialect)

Solution:

org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'profileController' defined in URL
        This error was cause because i made the spring.jpa.properties.hibernate.dialect = org.hibernate.dialect.mySQL5Dialect, the problem was m should be M. 

 Error    (Access denied for user ''@'localhost' (using password: NO) spring-boot) Even though there was password for  my root.

Solution:
  Use the correct spelling for spring.datasource.password=

 

Comments

Popular posts from this blog