AEM with Auth0 integration | Community
Skip to main content
New Member
August 14, 2024
Solved

AEM with Auth0 integration

  • August 14, 2024
  • 2 replies
  • 650 views

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.

 

 

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 EstebanBustamante

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.

 

2 replies

EstebanBustamante
Community Advisor and Adobe Champion
EstebanBustamanteCommunity Advisor and Adobe ChampionAccepted solution
Community Advisor and Adobe Champion
August 27, 2024

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
kautuk_sahni
Community Manager
Community Manager
September 13, 2024

@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