摘要:
applicationContext.xml <?xml version="1.0" encoding="UTF-8"?><beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2 阅读全文
摘要:
<dependencies> <!-- https://mvnrepository.com/artifact/org.projectlombok/lombok --><dependency> <groupId>org.projectlombok</groupId> <artifactId>lombo 阅读全文
摘要:
1.自己编写工具类 import com.fasterxml.jackson.core.JsonProcessingException;import com.fasterxml.jackson.databind.ObjectMapper;import com.fasterxml.jackson.da 阅读全文
摘要:
spring配置文件中加入以下代码 <mvc:annotation-driven> <mvc:message-converters register-defaults="true"> <beanclass="org.springframework.http.converter.StringHttpM 阅读全文
摘要:
web.xml配置springMVC的过滤器 配置为 /* <filter> <filter-name>encoding</filter-name> <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filte 阅读全文
摘要:
Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 Caused by: org.apache.ibatis.builder.BuilderException: Parsing erro 阅读全文
摘要:
Caused by: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.lang.ClassNotFoundException: Cannot find cl 阅读全文
摘要:
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.DefaultBeanFactoryP 阅读全文