[TID: N/A] main 2023-06-06 13:29:01,752 WARN org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:558) - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'ddlDynamicBeanPostProcessor' defined in class path resource [com/jingantech/mybatis/enhance/autoconfigure/MybatisDdlAutoConfiguration.class]: Unsatisfied dependency expressed through method 'ddlDynamicBeanPostProcessor' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [com/baomidou/dynamic/datasource/spring/boot/autoconfigure/DynamicDataSourceAutoConfiguration.class]: Invocation of init method failed; nested exception is com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to initialize pool: Access denied for user 'taapp'@'10.0.33.65' (using password: YES)
时间: 2024-04-26 14:23:54 浏览: 154
这是 Spring 框架启动时的警告信息,提示在上下文初始化过程中遇到了一些异常,导致无法完成刷新操作。具体的异常是在创建名为`ddlDynamicBeanPostProcessor`的 Bean 时出现了依赖问题,需要注入一个名为 `dataSource` 的 Bean,但是在创建 `dataSource` Bean 时出现了错误,具体错误信息是访问数据库时出现了权限问题,无法使用给定的用户名和密码登录到数据库。建议检查数据库用户名和密码是否正确,并确保拥有访问数据库的权限。
阅读全文