随笔分类 -  spring

摘要:错误现象:页面使用ajax验证出现返回的响应为乱码“??????”。错误原因:没有正确使用spring框架的编码过滤器。<!-- 定义编码过滤器 --> <filter> <filter-name>encodingFilter</filter-name> <filter-class> org.springframework.web.filter.CharacterEncodingFilter </filter-class> <init-param> <param-name>encoding</ 阅读全文
posted @ 2013-04-08 11:33 wanpp590 阅读(379) 评论(0) 推荐(0)
摘要:严重: Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.ClassFormatError: Il 阅读全文
posted @ 2012-08-31 08:15 wanpp590 阅读(3583) 评论(0) 推荐(0)