Thanks to visit codestin.com
Credit goes to github.com

Skip to content

2.3.2-j8 does not detect database.properties. #1011

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

Closed
logue opened this issue Mar 24, 2020 · 1 comment
Closed

2.3.2-j8 does not detect database.properties. #1011

logue opened this issue Mar 24, 2020 · 1 comment

Comments

@logue
Copy link

logue commented Mar 24, 2020

I am using ActiveJDBC in Spring boot, but after updating to 2.3.2-j8, the following error appeared and database.properties could not be recognized.

Could not find configuration in a property file for environment: development. Are you sure you called org.javalite.activejdbc.connection_config.DBConfiguration.loadConfiguration("/database.properties") or similar? You can also call org.javalite.activejdbc.connection_config.DBConfiguration.addConnectionConfig(...) directly

When I downgraded to 2.3.1-j8, it worked without any problem.

@ipolevoy
Copy link
Member

Please, see release notes for 2.3.2: https://javalite.io/release-notes-232-j8. You need to add a line of code before you open a connection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants