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 ?
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please provide some more details on what exactly are you trying to do.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.