当前位置: 代码迷 >> Java Web开发 >> TilesUtilImpl 异常给帮下忙,多谢
  详细解决方案

TilesUtilImpl 异常给帮下忙,多谢

热度:45   发布时间:2016-04-17 16:40:46.0
TilesUtilImpl 错误给帮下忙,谢谢!
java.lang.ClassCastException:   org.apache.struts.tiles.TilesUtilImpl
org.apache.struts.tiles.TilesRequestProcessor.initDefinitionsMapping(TilesRequestProcessor.java:126)
org.apache.struts.tiles.TilesRequestProcessor.init(TilesRequestProcessor.java:116)
org.apache.struts.action.ActionServlet.getRequestProcessor(ActionServlet.java:872)
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
这是什么错误,大家给帮下忙?

------解决方案--------------------
ClassCastException,应该是类转换出错。你可能在class中遇到强行转换类的时候出错,譬如(String)null