Datasource RDBMS - Class not found error | Community
Skip to main content
New Participant
Jul 15, 2021 10:17 AM UTC
Solved

Datasource RDBMS - Class not found error

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-adaptive-form/create-form-data-model.html 

 

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.

 

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
user55521Accepted solution
New Participant
Jul 15, 2021 12:38 PM UTC

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

4 replies

user55521AuthorAccepted solution
New Participant
Jul 15, 2021 12:38 PM UTC

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

Translate
Mayank_Gandhi
Employee
Jul 15, 2021 11:13 AM UTC

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

Translate
user55521Author
New Participant
Jul 15, 2021 11:15 AM UTC

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.

Translate