小编St.*_*ing的帖子

Jhipster - MySQL java.sql.SQLException:用户'root'@'localhost'拒绝访问(使用密码:NO)

我试图通过JHipster创建一个项目并将其部署到Openshif.一切似乎都很正常,但是当运行mvn spring-boot:run或从IDE运行时,没有与MySQL数据库的连接.

错误是:

 Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.ryantenney.metrics.spring.config.annotation.DelegatingMetricsConfiguration': BeanPostProcessor before instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cache.annotation.ProxyCachingConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Collection org.springframework.cache.annotation.AbstractCachingConfiguration.cacheManagerBeans; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'cacheConfiguration': Injection of persistence dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'liquibase' defined in class path resource [ee/st/running/config/DatabaseConfiguration.class]: Unsatisfied dependency expressed …
Run Code Online (Sandbox Code Playgroud)

java mysql sql-server-2008 maven jhipster

6
推荐指数
2
解决办法
8748
查看次数

标签 统计

java ×1

jhipster ×1

maven ×1

mysql ×1

sql-server-2008 ×1