Expand my Community achievements bar.

SOLVED

Datasource RDBMS - Class not found error

Avatar

Adobe Champion

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
Adobe Champion

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

Employee Advisor

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

Avatar

Adobe Champion

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
Adobe Champion

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