首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 服务器 > Apache >

org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-八

2013-11-09 
org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8org.springframework

org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8

org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.apache.axiom.om.OMException: com.ctc.wstx.exc.WstxIOException: Invalid UTF-8 middle byte 0xfa (at char #193, byte #127)org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:488)org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:431)javax.servlet.http.HttpServlet.service(HttpServlet.java:617)javax.servlet.http.HttpServlet.service(HttpServlet.java:717)org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96)org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198)org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75)com.adtech.libraryunion.filter.LoginFilter.doFilter(LoginFilter.java:54)

原因:调用接口的文件的编码方式不是UTF-8
解决:用记事本打开调用的文件,另存为UTF-8格式即可解决

热点排行