当我尝试在WebSphere 8.5上运行我的项目时,我遇到了以下错误。我使用了范围提供和排除的东西,但它不起作用.Seems servlet-api.jar正在从Web容器中获取.Spring-web version I我使用的是3.0.5
Error Message: javax.servlet.ServletException: Filter [filterChainProxy]: not a filter class
Error Code: 500
Target Servlet: HealthCheckServlet
Error Stack:
java.lang.ClassCastException: org.springframework.web.filter.DelegatingFilterProxy incompatible with javax.servlet.Filter
at com.ibm.ws.webcontainer.filter.WebAppFilterManager._loadFilter(WebAppFilterManager.java:572)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.loadFilter(WebAppFilterManager.java:514)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.getFilterInstanceWrapper(WebAppFilterManager.java:319)