Cannot access Postgres db from jar
Clash Royale CLAN TAG#URR8PPP
You need to show how you are packaging and running your app. I'm guessing that you are missing required JAR files when you run it externally.
– Steve11235
yesterday
updated with necessary images
– Micky A.
yesterday
What is the exception you get? What is the code that tries to connect to the database? Add that to your question as formatted text no screen shots please
– a_horse_with_no_name
yesterday
its exception message is just "org.postgresql.Driver"
– Micky A.
yesterday
Cannot access Postgres db from jar
I have a program that can run through eclipse but when I convet the project into JAR file it does not connect the db or it does not get the data. I just tried to migrate Postgres driver jar file to existing jar file it but did not work.
exporting step 1
exporting step 2
exporting step 3
files
I have this in class path when I investiage jar file;
<classpathentry kind="lib" path="lib/postgresql-42.2.4.jar"/>
You need to show how you are packaging and running your app. I'm guessing that you are missing required JAR files when you run it externally.
– Steve11235
yesterday
updated with necessary images
– Micky A.
yesterday
What is the exception you get? What is the code that tries to connect to the database? Add that to your question as formatted text no screen shots please
– a_horse_with_no_name
yesterday
its exception message is just "org.postgresql.Driver"
– Micky A.
yesterday
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.
edit your question and add the exception you get (do not add it as a comment, edit your question)
– a_horse_with_no_name
yesterday