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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Datasource RDBMS - Class not found error

kimonp31365843
Level 4
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.

 

 

AEM AEM 6.5 AEM Forms Datasource forms mysql
1 Accepted Solution
kimonp31365843
Correct answer by
Level 4
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
Mayank_Gandhi
Community Advisor
Community Advisor

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

kimonp31365843
Level 4
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.

kimonp31365843
Correct answer by
Level 4
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