Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backand cosv fails to configure DataSource #2914

Open
acies312 opened this issue Jan 25, 2024 · 0 comments
Open

backand cosv fails to configure DataSource #2914

acies312 opened this issue Jan 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@acies312
Copy link
Member

when trying to deploy cosv backend using profiles prod, secure, kubernetes it's fails with this error:


***************************
APPLICATION FAILED TO START
***************************

Description:

Failed to configure a DataSource: no embedded datasource could be configured.

Reason: Failed to determine a suitable driver class


Action:

Consider the following:
    If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    If you have database settings to be loaded from a particular profile you may need to activate it (the profiles prod,secure,kubernetes are currently active).

it can be fixed by providing parameter spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver to application.properties, but don't think this is must be handled like that

@acies312 acies312 added bug Something isn't working invalid This doesn't seem right labels Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants