Datasource RDBMS - Class not found error

Avatar

Avatar
Boost 10
Level 2
kimonp31365843
Level 2

Likes

10 likes

Total Posts

34 posts

Correct reply

3 solutions
Top badges earned
Boost 10
Affirm 3
Validate 1
Ignite 3
Ignite 1
View profile

Avatar
Boost 10
Level 2
kimonp31365843
Level 2

Likes

10 likes

Total Posts

34 posts

Correct reply

3 solutions
Top badges earned
Boost 10
Affirm 3
Validate 1
Ignite 3
Ignite 1
View profile
kimonp31365843
Level 2

15-07-2021

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.

 

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 10
Level 2
kimonp31365843
Level 2

Likes

10 likes

Total Posts

34 posts

Correct reply

3 solutions
Top badges earned
Boost 10
Affirm 3
Validate 1
Ignite 3
Ignite 1
View profile

Avatar
Boost 10
Level 2
kimonp31365843
Level 2

Likes

10 likes

Total Posts

34 posts

Correct reply

3 solutions
Top badges earned
Boost 10
Affirm 3
Validate 1
Ignite 3
Ignite 1
View profile
kimonp31365843
Level 2

15-07-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

Answers (1)

Answers (1)

Avatar

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

328 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile

Avatar
Springboard
Level 10
Mayank_Gandhi
Level 10

Likes

328 likes

Total Posts

1,153 posts

Correct reply

185 solutions
Top badges earned
Springboard
Establish
Validate 1
Contributor 2
Ignite 5
View profile
Mayank_Gandhi
Level 10

15-07-2021

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