Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Datasource RDBMS - Class not found error

Avatar

Level 4

Dear Community,

 

I am trying to follow the instructions for setting up a data model as per https://experienceleague.adobe.com/docs/experience-manager-65/forms/getting-started/create-first-ada... 

 

When I add the configuration for Apache Sling Connection Pooled DataSource, I get the following error in the logs:

com.mysql.cj.jdbc.Driver not found by org.apache.sling.datasource

I have tried different MySQL driver versions, but the issue remains.

I also tried using com.mysql.jdbc.Driver as the driver class, no luck either.

I am using AEM 6.5.9 + latest forms add on.

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Figured out that version 8.0.12 does the trick. Also good to know that in the JDBC URL you might need to add an additional param: timezone, e.g. timezone=Europe/Berlin

View solution in original post

4 Replies

Avatar

Level 10

@kimonp31365843 Please share your email I will send you the MySQL driver that works on my side. 

Avatar

Level 4

Hi Mayank, can you share the version of the jdbc connector you used or even better share your driver here? I am sure it would be helpful for others as well.

Avatar

Correct answer by
Level 4

Figured out that version 8.0.12 does the trick. Also good to know that in the JDBC URL you might need to add an additional param: timezone, e.g. timezone=Europe/Berlin