问题分析: 在ServletRequest servletRequest中已经存在一个项目名称,此时,又用项目名称访问 http://localhost:8080/rent/pdf/preview rent这个名称已经在Application.yml中设置了, 这时会生成一个缓存在servletRequest中,访问就会有重复的/rent,就会报错 解决方案 清空servletRequest中存在的/rent缓存 @Override public void doFilter(ServletReq…
HTTP Status 500 - Request processing failed; nested exception is java.lang.NullPointerException type Exception report message Request processing failed; nested exception is java.lang.NullPointerException description The server encountered an internal…
HTTP Status 500 - Request processing failed; nested exception is java.lang.IllegalArgumentException: Control character in cookie value or attribute. type Exception report message Request processing failed; nested exception is java.lang.IllegalArgumen…
这个异常是缺少json相关的包 把以下依赖补上就好: <!-- Jackson Json处理工具包 --><dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>${jackson.version}</version></dependency&…
问题:调用的方法在一个接口类中,但我并没有注入那个被调用的类 解决:在UserEntity前加上@Autowired @Controller public class MainController { // 自动装配数据库接口,不需要再写原始的Connection来操作数据库 @Autowired UserRepository userRepository; @RequestMapping(value = "/",method = RequestMethod.GET) public S…
如下图 一番排查之后发现原来是server层写漏注释了 粗心大意,一天内出现两次写漏注释,SSM框架有意思.…
出现这个问题往往伴随  HTTP-500错误 报错信息: HTTP Status - Handler processing failed; nested exception is java.lang.NoClassDefFoundError: javax/servlet/jsp/jstl/core/Config type Exception report message Handler processing failed; nested exception is java.lang.NoClas…
1 ,错误原因,循环冗余检查      result.setNearUsers(userList);            Page page = new Page();            page.setTotal(searchNearUser.getTotal());            page.setSize(userList.size());            page.setPage(discoverGetForm.getPaging());            resu…