I’m trying to set up a connection to an Apache Derby database in Eclipse, but I keep encountering the following error:
Connection Error
Ping Error
I am able to connect and create a database via Windows 10 Command Prompt. But it seems like Eclipse doesnt find the Derby here.
So when creating a new database connection I just use the default settings, where it should create a db named “sample” with “user” as user name and password.
I select the right JAR at the driver definitions.
I also added als needed JARs in the Java Build Path Class Variables and set the environment variables
I also started the Server, of course running on the right port. As I said, running on Command Prompt works fine, but not in Eclipse.
Anyone know what I am missing? Tried everything, but I’m out of ideas right now.
automatikz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.