hmj776521114 opened a new issue, #6725:
URL: https://github.com/apache/incubator-seata/issues/6725

   <!-- Please do not use this issue template to report security 
vulnerabilities but refer to our [security 
policy](https://github.com/seata/seata/security/policy). -->
   
   ## Why you need it?
   当我下载seata release v2.0后,通常我是把application.yml改为application.yml.bak,  
application.example.yml改为application.yml。
   但是当我把一些初始配置配置好后启动报错:
   > Error creating bean with name 'customUserDetailsServiceImpl': Injection of 
autowired dependencies failed; nested exception is 
java.lang.IllegalArgumentException: Could not resolve placeholder 
'console.user.username' 
   
   经过上网查询后了解到需要再配置文件里补充上以下内容:
   ```yaml
   
   console: 
     user:
       username: seata
       password: seata
   
   seata:
     security:
       secretKey: "seata"
       tokenValidityInMilliseconds: 1000000000
   
   ```
   
   
   ## How it could be?
   希望在`application.example.yml`配置文件中默认添加上这些内容, 谢谢 !
   


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to