在Websphere 8.5上运行项目时Spring Filter ClassCastException

时间:2016-06-12 17:37:27

标签: java websphere spring-web

当我尝试在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) 

0 个答案:

没有答案