java.lang.RuntimeException: Error occurred while trying to get the updates needed for the database. Unable to get a connection to the database. Please check your openmrs runtime properties file and make sure you have the correct connection.username and connection.password set at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:631) at org.openmrs.util.DatabaseUpdater.getUnrunDatabaseChanges(DatabaseUpdater.java:590) at org.openmrs.util.DatabaseUpdater.updatesRequired(DatabaseUpdater.java:261) at org.openmrs.web.Listener.setupNeeded(Listener.java:184)
I also notice that there are import errors on libraries such as errors in
"import org.apache.commons.lang.StringUtils;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;"
Eclipse cannot find those apache libraries. How do I fix this problem?
Susan,
Have you run the maven build in the root project? You need to run either install or package in root project first I think.
--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/
Now I'm getting this error. I can connect to the mysql server and I've managed to reset the root password (because I forgot it originally). Here's the screenshot attached.
Screenshot of the error attached.
--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/
I ran mvn jetty:run again, did the setup, got the same invalid username/pw error("Invalid username and/or password: admin Unable to complete the startup."), and on the terminal, I did ls ~/.OpenMRS/ , which ouputs "logic/ modules/ openmrs.log". There's no openmrs-runtime.properties.
I'm on the irc channel as arctansusan if anyone wants to help me debug this issue.
--
OpenMRS Developers: http://go.openmrs.org/dev
Post: d...@openmrs.org
Unsubscribe: dev+uns...@openmrs.org
Manage your OpenMRS subscriptions at https://id.openmrs.org/