Spring and cross context: WebAsyncManager cannot be cast to WebAsyncManager

前端 未结 4 1216
我在风中等你
我在风中等你 2020-12-18 09:03

I want to use the cross context feature in a Spring application so I can import some webapp1 JSP into a webapp2 JSP. I\'m using Eclipse STS with the included Tomcat 7.0.42 (

4条回答
  •  不知归路
    2020-12-18 09:09

    We fought with this exception in our hybrid applications (development: Spring Boot app / production: Liferay portlet; the exception occured on our Liferay servers) for several days.

    In our case disabling all (unneeded) servlet filters helped:

    • https://stackoverflow.com/questions/28421966/prevent-spring-boot-from-registering-a-servlet-filter (dimafeng's answer)
    • http://dimafeng.com/2015/11/27/dynamic-bean-definition/
    • https://github.com/dimafeng/dimafeng-examples/tree/master/dynamic-bean-def/src/main/java/com/dimafeng/examples/dynamic_bean_def

提交回复
热议问题