Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

The validator is unable to load the driver from the specified jar file

Getting error :

Unable to load 'org.postgresql.Driver' from 'C:\Program Files\Atlassian\Confluence\confluence\WEB-INF\lib\postgresql-9.2-1002.jdbc4.jar', exiting.

Same thing with MySQL, do I need something special to be able to load the driver from the jar ?

5 answers

I am having exactly the same problem in Confluence version 7.12.2.  My command line is:

java -jar cdc-plugin-validator-1.0.0.jar -installation "C:/Program Files/Atlassian/Confluence7122" -dbuser user -dbpassword pass -dburl jdbc:postgresql://localhost:5433/cluster3 -dbdriver org.postgresql.Driver -dbfile "C:/Program Files/Atlassian/Confluence7122/confluence/WEB-INF/lib/postgresql-42.2.18.jar


Did you find a solution?

Same issue here, it's frustrating, because I'm unable to to debug this stupid error :-/

java -jar cdc-plugin-validator-1.0.0.jar -installation C:\Confluence -dbuser XXXXX -dbpassword XXXXX -dburl jdbc:postgresql://localhost:5432/confluence2 -dbdriver org.postgresql.Driver -dbfile C:\Confluence\confluence\WEB-INF\lib\postgresql-42.2.16.jar
Unable to load 'org.postgresql.Driver' from 'C:\Confluence\confluence\WEB-INF\lib\postgresql-42.2.16.jar', exiting


I have exactly the same problem, however I am using postgresql database and using the example command line with my server details.

I have the correct postgresql jar file, but the tool doesn't find the org.postgresql.Driver class, which is clearly in the jar file.  Looks like a bug with this tool.

Has anyone got this tool to work?

How do developers verify Data Center compatibility?

I'm trying to validate a plugin using the Data Center Plugin Validator. I have a confluence installed using MySQL and using the "example invocation" as a reference.

When running the command, the validator is unable to load the jdbc driver (from dbdriver parameter) from the jar file (dbfile parameter).

Please provide some more details on what exactly are you trying to do.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Confluence

Confluence Mythbusters: Does Atlassian even use Confluence?

Hi, Confluence collaborators! As part of #Confluence-Collaboratory month, we’ve created a very special Mythsbusters segment, where we're dive into an interesting myth and uncover the truth behind i...

1,652 views 7 30
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you