The Exception encountered during the context initialization - cancelling refresh attempt: org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'userController: Unsatisfied dependency expressed through the field' userService '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'userServiceImpl: Unsatisfied dependency expressed through the field' userMapper '; Nested exception is org. Springframework. Beans. Factory. UnsatisfiedDependencyException: Error creating bean with the name 'userMapper defined in the file [D: \ chyx \ chuhui \ ch - user \ service \ target \ classes \ com \ wyqf365 \ user \ mapper \ userMapper class] : Unsatisfied dependency expressed through the bean property' sqlSessionFactory '; Nested exception is org. Springframework. Beans. Factory. BeanCreationException: Error creating bean with the name 'sqlSessionFactory defined in the class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration class] : bean instantiation via the factory method failed; Nested exception is org. Springframework. Beans. BeanInstantiationException: Failed to instantiate [org. Apache. Ibatis. Session. SqlSessionFactory] : the Factory method 'SqlSessionFactory threw the exception. Nested exception is com. Baomidou. Mybatisplus. Core. Exceptions. MybatisPlusException: Error: GlobalConfigUtils setMetaData Fail! Cause: the Java. SQL. SQLException: Access denied for user 'root' @ 'localhost' (using password: YES)
CodePudding user response:
The root user without accessCodePudding user response: