摘要: applicationContext.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2 阅读全文
posted @ 2021-01-15 17:00 监听员 阅读(65) 评论(0) 推荐(0) 编辑
摘要: <dependencies> <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --><dependency> <groupId>org.projectlombok</groupId> <artifactId>lombo 阅读全文
posted @ 2021-01-15 15:01 监听员 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1.自己编写工具类 import com.fasterxml.jackson.core.JsonProcessingException;import com.fasterxml.jackson.databind.ObjectMapper;import com.fasterxml.jackson.da 阅读全文
posted @ 2021-01-15 14:58 监听员 阅读(1355) 评论(0) 推荐(0) 编辑
摘要: spring配置文件中加入以下代码 <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <beanclass="org.springframework.http.converter.StringHttpM 阅读全文
posted @ 2021-01-15 14:39 监听员 阅读(66) 评论(0) 推荐(0) 编辑
摘要: web.xml配置springMVC的过滤器 配置为 /* <filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filte 阅读全文
posted @ 2021-01-15 14:11 监听员 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Caused by: org.apache.ibatis.builder.BuilderException: Parsing erro 阅读全文
posted @ 2021-01-15 10:24 监听员 阅读(380) 评论(0) 推荐(0) 编辑
摘要: Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassNotFoundException: Cannot find cl 阅读全文
posted @ 2021-01-15 10:06 监听员 阅读(394) 评论(0) 推荐(0) 编辑
摘要: Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryP 阅读全文
posted @ 2021-01-15 09:57 监听员 阅读(789) 评论(0) 推荐(0) 编辑