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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 ?

4 answers

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

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).

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?

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

 

Suggest an answer

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

Announcing Team Calendars in Confluence Data Center

Hi Community! We're thrilled to share that Team Calendars for Confluence is now a built-in feature for Confluence Data Center releases 7.11 and beyond.  A long time favorite,  Team Cale...

75 views 0 3
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