linhongzhi123 commented on issue #28450:
URL: 
https://github.com/apache/shardingsphere/issues/28450#issuecomment-1722436547

   > @linhongzhi123您能否提供更多信息来帮助我们重现此错误?
   
   This error occurs when I upgrade to 5.4.0
   
   ----------------------------------------------
   2023-09-17 17:33:02.008  WARN 17596 --- [           main] 
ConfigServletWebServerApplicationContext : Exception encountered during context 
initialization - cancelling refresh attempt: 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'shiroConfig': Injection of resource dependencies failed; nested 
exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'authService' defined in file 
[D:\project\台州平安大脑\tz_wg_zx\target\classes\com\codvision\serverboot\service\auth\AuthService.class]:
 Unsatisfied dependency expressed through constructor parameter 0; nested 
exception is org.springframework.beans.factory.UnsatisfiedDependencyException: 
Error creating bean with name 'authMapper' defined in file 
[D:\project\台州平安大脑\tz_wg_zx\target\classes\com\codvision\serverboot\dao\AuthMapper.class]:
 Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; 
nested exception i
 s org.springframework.beans.factory.UnsatisfiedDependencyException: Error 
creating bean with name 'sqlSessionFactory' defined in class path resource 
[tk/mybatis/mapper/autoconfigure/MapperAutoConfiguration.class]: Unsatisfied 
dependency expressed through method 'sqlSessionFactory' parameter 0; nested 
exception is org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'dataSource' defined in class path resource 
[com/codvision/serverboot/config/DataSourceConfig.class]: Invocation of init 
method failed; nested exception is Cannot create property=rules for 
JavaBean=org.apache.shardingsphere.driver.api.yaml.YamlJDBCConfiguration@cc5460
    in 'reader', line 1, column 1:
       dataSources:
       ^
   Cannot create property=tables for 
JavaBean=org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration@186374c
    in 'reader', line 9, column 3:
       - !ENCRYPT
         ^
   Cannot create property=columns for 
JavaBean=org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfiguration@7bc16b
    in 'reader', line 12, column 7:
             columns:
             ^
   Cannot create property=cipherColumn for 
JavaBean=org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptColumnRuleConfiguration@6ad6d5
    in 'reader', line 14, column 11:
                 cipherColumn: id_card
                 ^
   Unable to find property 'cipherColumn' on class: 
org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptColumnRuleConfiguration
    in 'reader', line 14, column 25:
                 cipherColumn: id_card
                               ^
   
    in 'reader', line 13, column 9:
               id_card:
               ^
   
    in 'reader', line 11, column 5:
           test_user:
           ^
   
    in 'reader', line 9, column 1:
       - !ENCRYPT
       ^
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to