配置數據庫連接后啟動報錯(急呀?。。。?/h1>
報以下幾個異常
? ? java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO)
? ?org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
? ? 3. ??Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service ????????????[org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
4.Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
報以下幾個異常
? ? java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO)
? ?org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaAutoConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.service.spi.ServiceException: Unable to create requested service [org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
? ? 3. ??Caused by: org.hibernate.service.spi.ServiceException: Unable to create requested service ????????????[org.hibernate.engine.jdbc.env.spi.JdbcEnvironment]
4.Caused by: org.hibernate.HibernateException: Access to DialectResolutionInfo cannot be null when 'hibernate.dialect' not set
2017-08-03
請問你是怎么解決的這個問題