
小错误分类
知道的越多 那么不知道的就越多
#RR
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
springMVC:通配符的匹配很全面, 但无法找到元素 'mvc:annotation-driven' 的声明
报错信息:通配符的匹配很全面, 但无法找到元素 ‘mvc:annotation-driven’ 的声明原因是:虽然在xml文件上方声明了mvc,但没有配置此声明对应的文件信息,正确配置如下:<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/...原创 2019-03-13 22:42:17 · 488 阅读 · 0 评论 -
jsp页面提示“Multiple annotations found at this line: - The superclass "javax.servlet.http.HttpServlet" w
Multiple annotations found at this line:- The superclass “javax.servlet.http.HttpServlet” was not found on the JavaBuild Path- Line breakpoint:success.jsp [line: 1]jsp页面老是提示:Multiple annotations ...原创 2019-03-11 16:30:07 · 506 阅读 · 0 评论 -
开发websocket聊天室遇到的bug
webSocket调用@Autowired注入的对象报空指针异常mybatis@Bean的使用 @Autowired private ChatServiceImpl chatService;注入bean类,因为每次在websocket有用户连接的时候都是一个新的request这时要把bean类修改成static对象实现函数的注入private static ChatServic...原创 2019-09-16 22:55:16 · 302 阅读 · 0 评论