Expand my Community achievements bar.

SOLVED

AEM with Auth0 integration

Avatar

Level 1

Hi Team,

I have been working on the auth0 integration with the AEM application and have been stuck at some dependency integrations. While the default application works with the redirects and is fine, I am facing issue with the below error:

java.lang.NoClassDefFoundError: kotlin/jvm/internal/Intrinsics at okhttp3.HttpUrl$Companion.parse(HttpUrl.kt) [okhttp:4.10.0]

 

We have tried adding explicitly the kotlin bundles to repository as well and still this error happens when maven build is triggered. There is no bundle dependency issue and is active post build. The only error is at this build trigger and as a result the connection is not getting established.

 

Can you please suggest if any alternate methods are available to counter this? Did you face this issue while implementing in the project?

 

We have added all the jar's as bundles through dependency and they are available in the SNAPSHOT as well.

 

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

 

Are you following any sort of tutorial or downloading sample code? The error indicates that the dependency is not available at runtime. If this dependency will be available at runtime (because you installed it manually), you can mark it as provided with the scope tag to prevent build-time failures.

 

Hope this helps.

 



Esteban Bustamante

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi,

 

Are you following any sort of tutorial or downloading sample code? The error indicates that the dependency is not available at runtime. If this dependency will be available at runtime (because you installed it manually), you can mark it as provided with the scope tag to prevent build-time failures.

 

Hope this helps.

 



Esteban Bustamante

Avatar

Administrator

@santhosh_mr Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni