You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.UnsupportedOperationException: Only dispatcherServlet is supported
Expected behavior
Should run as it would normally.
Actual behavior
Stops at that error.
First it "dispatcherServlet" is passed as the first parameter in the function ServletRegistration.Dynamic addServlet and after that, "messageDispatcher" pass causing the if statement if ("dispatcherServlet".equals(s)) to fail
Steps to reproduce
Just add the maven dependency above
Others
I need to create a Soap client and based on sample codes I gathered, that dependency is needed.
One work around is I copied SpringBootLambdaContainerHandler.java to my source folder, modified it to just return null. It does work as let me proceed with testing but it might have side effects.
} else {
//throw new UnsupportedOperationException("Only dispatcherServlet is supported");
return null;
}
The text was updated successfully, but these errors were encountered:
Hi @franciszabala, this should be fixed for release 1.4 - I have a test implementation in the core branch of this repo. You can use the instructions from my last comment in #239 to test yourself.
Scenario
After adding this maven dependency:
executing
mvn clean package
keeps throwing off:org.springframework.context.ApplicationContextException: Unable to start web server; nested exception is java.lang.UnsupportedOperationException: Only dispatcherServlet is supported
Expected behavior
Should run as it would normally.
Actual behavior
Stops at that error.
First it "dispatcherServlet" is passed as the first parameter in the function
ServletRegistration.Dynamic addServlet
and after that, "messageDispatcher" pass causing the if statementif ("dispatcherServlet".equals(s))
to failSteps to reproduce
Just add the maven dependency above
Others
I need to create a Soap client and based on sample codes I gathered, that dependency is needed.
One work around is I copied SpringBootLambdaContainerHandler.java to my source folder, modified it to just return null. It does work as let me proceed with testing but it might have side effects.
The text was updated successfully, but these errors were encountered: