Azure-Samples / ms-identity-java-webapp

A Java web application calling Microsoft graph that is secured using the Microsoft identity platform
MIT License
118 stars 105 forks source link

msal4jsample AuthFilter not starting #75

Closed kbodh closed 3 years ago

kbodh commented 3 years ago

Hi ,

I am deploying msal4jsample under Tomcat 7.0.107 using java 1.8. I am unable to start the application. Following is the error in the log. I have changed the file ms-identity-java-webapp/src/main/java/com.microsoft.azure.msalwebsample/MsalWebSampleApplication

and I decided not to use https so my application.properties has these entries along with tenant id and client id

aad.redirectUriSignin=http://localhost:8080/msal4jsample/secure/aad aad.redirectUriGraph=http://localhost:8080/msal4jsample/graph/me

Apr 20, 2021 9:25:53 AM org.apache.catalina.core.StandardContext filterStart SEVERE: Exception starting filter [authFilter] java.lang.AbstractMethodError at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:281) at org.apache.catalina.core.ApplicationFilterConfig.(ApplicationFilterConfig.java:110) at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4973) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5672) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)

Avery-Dunn commented 3 years ago

Hello @kbodh : Is that the full error log? I haven't been able to recreate the issue, but do have a couple guesses for what's happening:

Avery-Dunn commented 3 years ago

Closing this due to inactivity. If you are still having issues or have any related questions, feel free to re-open or leave a comment.