FakeTrader opened a new issue, #16839:
URL: https://github.com/apache/dolphinscheduler/issues/16839

   ### Search before asking
   
   - [X] I had searched in the 
[issues](https://github.com/apache/dolphinscheduler/issues?q=is%3Aissue) and 
found no similar issues.
   
   
   ### What happened
   
   ```text
   ***************************
   APPLICATION FAILED TO START
   ***************************
   
   Description:
   
   Field daoPluginConfiguration in 
org.apache.dolphinscheduler.dao.DaoConfiguration required a bean of type 
'org.apache.dolphinscheduler.dao.plugin.api.DaoPluginConfiguration' that could 
not be found.
   
   The injection point has the following annotations:
        - @org.springframework.beans.factory.annotation.Autowired(required=true)
   
   
   Action:
   
   Consider defining a bean of type 
'org.apache.dolphinscheduler.dao.plugin.api.DaoPluginConfiguration' in your 
configuration.
   ```
   
   ### What you expected to happen
   
   Start application normally
   
   ### How to reproduce
   
   1. create a local configuration file `application-local.yaml`, set active 
profile to `local`, application failed to start.
   2. change file name to `application-mysql.yaml`, set active profile to 
`mysql`, application started successfully.
   
   ### Anything else
   
   It seems the dao plugin checkes the profile and hardcodes as "mysql", 
"postgresql" and "h2", only loading the configuration when environment 
condition is met in 
`org.apache.dolphinscheduler.dao.plugin.api.DatabaseEnvironmentCondition`.
   
   ### Version
   
   3.2.x
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


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