java.lang.NoSuchMethodError: com.adobe.granite.auth.ims.ImsConfigProvider.getImsLoginUrl | Community
Skip to main content
New Participant
April 10, 2020
Solved

java.lang.NoSuchMethodError: com.adobe.granite.auth.ims.ImsConfigProvider.getImsLoginUrl

  • April 10, 2020
  • 3 replies
  • 4807 views

while starting the AEM 6.4 on the error logs repeatedly the below error is printed.This occupies the entore log.please can you suggest if any configuration changes are required.

 

 

10.04.2020 12:11:30.564 *ERROR* [19.14.119.71 [1586535090563] GET /libs/granite/core/content/login.html HTTP/1.1] org.apache.sling.engine.impl.SlingRequestProcessorImpl service: Uncaught SlingException
java.lang.NoSuchMethodError: com.adobe.granite.auth.ims.ImsConfigProvider.getImsLoginUrl(Ljavax/servlet/http/HttpServletRequest;)Ljava/lang/String;
at org.apache.jsp.libs.granite.core.components.login.login_jsp._jspService(login_jsp.java:279)
at org.apache.sling.scripting.jsp.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) [org.apache.sling.scripting.jsp:2.2.7.B002]
at javax.servlet.http.HttpServlet.service(HttpServlet.java:725) [org.apache.felix.http.servlet-api:1.1.2]
at org.apache.sling.scripting.jsp.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:502) [org.apache.sling.scripting.jsp:2.2.7.B002]

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 kautuk_sahni

Answered by Theo:

 

 

I've never had this problem but it looks like a bundle issue. As you can see here, the ImsConfigProvider does indeed have a getImsLoginUrl method, so this error is strange.

Can you check that you find com.adobe.granite.auth.ims.impl.ImsConfigProviderImpl among your active components by searching for it here: http://localhost:4502/system/console/components.

Also, make sure the Adobe Granite IMSAuthentication Handler bundle is in Active status here: http://localhost:4502/system/console/bundles

 

Thanks a lot,that helped.I restarted the bundle and it worked fine.Also disabled the  com.adobe.granite.auth.ims.impl.ImsConfigProviderImpl  in  http://localhost:4502/system/console/components. and made active.

This solved the issue.

 

3 replies

kautuk_sahni
kautuk_sahniAccepted solution
Employee
June 5, 2020

Answered by Theo:

 

 

I've never had this problem but it looks like a bundle issue. As you can see here, the ImsConfigProvider does indeed have a getImsLoginUrl method, so this error is strange.

Can you check that you find com.adobe.granite.auth.ims.impl.ImsConfigProviderImpl among your active components by searching for it here: http://localhost:4502/system/console/components.

Also, make sure the Adobe Granite IMSAuthentication Handler bundle is in Active status here: http://localhost:4502/system/console/bundles

 

Thanks a lot,that helped.I restarted the bundle and it worked fine.Also disabled the  com.adobe.granite.auth.ims.impl.ImsConfigProviderImpl  in  http://localhost:4502/system/console/components. and made active.

This solved the issue.

 

Kautuk Sahni
Shakthi1Author
New Participant
April 11, 2020

Hi,

Thanks a lot,that helped.I restarted the bundle and it worked fine.Also disabled the  com.adobe.granite.auth.ims.impl.ImsConfigProviderImpl  in  http://localhost:4502/system/console/components. and made active.

This solved the issue.

Theo_Pendle
New Participant
April 10, 2020

Hello,

Just a quick remark: in future, if you're looking for help from the community, just make sure to post as a Question and not as a Discussion 😉

I've never had this problem but it looks like a bundle issue. As you can see here, the ImsConfigProvider does indeed have a getImsLoginUrl method, so this error is strange.

Can you check that you find com.adobe.granite.auth.ims.impl.ImsConfigProviderImpl among your active components by searching for it here: http://localhost:4502/system/console/components.

Also, make sure the Adobe Granite IMSAuthentication Handler bundle is in Active status here: http://localhost:4502/system/console/bundles