Datasource RDBMS - Class not found error | Community
Skip to main content
Adobe Champion
July 15, 2021
Solved

Datasource RDBMS - Class not found error

  • July 15, 2021
  • 2 replies
  • 1507 views

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.
Best answer by user55521

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

2 replies

Mayank_Gandhi
Adobe Employee
Adobe Employee
July 15, 2021

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

user55521Adobe ChampionAuthor
Adobe Champion
July 15, 2021

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.

user55521Adobe ChampionAuthorAccepted solution
Adobe Champion
July 15, 2021

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