bug
文章平均质量分 57
记录自己所遇到的所有的bug,以及相关的解决方案。
程序员_动次动次
这个作者很懒,什么都没留下…
展开
-
项目无法识别jQuery脚本库-404
背景在做jQuery做异步请求时,开始是忘记引入jQuery脚本库了。引入之后又无法识别jQuery脚本库。报错404。原因在idea引入jQuery脚本库以后(将jquery脚本库复制到idea项目下时)一定要 rebuild 一下项目。在项目路径没有没有写错的前提下,如果项目还是识别不了脚本库的话,可以 重启一下idea。前端项目出问题后,按F12就可以查看报错信息,根据报错信息可以进行一步步排查。...原创 2022-05-30 17:29:47 · 389 阅读 · 0 评论 -
SSM框架整合-404
背景今天在做SSM框架整合时,又遇到了404问题。这次不是因为自己的路径写错了,所以检查了好长时间路径,都没有发现问题。原因在整合SSM框架时,需要在web.xml文件中配置分发器。如果不配置分发器,就会导致请求无法找到对应的action,最终报404错误。需要在web.xml文件中做如下配置:<?xml version="1.0" encoding="UTF-8"?><web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee"原创 2022-05-29 20:42:39 · 1326 阅读 · 0 评论 -
springMVC的action跳转时遇到404
SpringMVC的action跳转出错404原创 2022-05-29 11:16:00 · 761 阅读 · 1 评论 -
java.io.FileNotFoundException:无法打开 ServletContext 资源 [/WEB-INF/dispatcherServlet-servlet.xml]
背景自己在做一个spring MVC的项目时,遇到这样的报错Servlet.init() for servlet [dispatcherServlet] threw exceptionorg.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from ServletContext resource [/WEB-INF/dispatcherServlet-serv原创 2022-05-29 09:19:44 · 966 阅读 · 0 评论 -
IllegalArgumentException,Mapped Statements collection does not contain value for xxxxx
不合法参数异常IllegalArgumentException,Mapped Statements collection does not contain value for xxxxx原创 2022-04-25 22:54:16 · 3802 阅读 · 0 评论 -
SQLSyntaxErrorException
Cause: java.sql.SQLSyntaxErrorException原创 2022-04-25 22:38:38 · 13694 阅读 · 2 评论 -
Could not set property ‘healhistorys‘ of ‘class com.bean.Pet‘ with value
> Cause: org.apache.ibatis.reflection.ReflectionException: `Could not set property 'healhistorys' of 'class com.bean.Pet' with value `'[com.bean.Healhistory@3a52dba3, com.bean.Healhistory@2a5c8d3f, com.bean.Healhistory@752325ad]' > Cause: org.apache.ibati原创 2022-04-25 22:22:08 · 156 阅读 · 0 评论 -
控制台没有打印出自己想要的信息
昨天自己在做根据查询条件进行分页查询时,查询到的分页结果在控制台打印时,没有能正确的打印出结果。主要原因是自己疏忽了。这里记录一下,遇到控制台不能打印出正确的结果的时候,应该怎么思考。原创 2022-04-23 16:04:37 · 969 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Parameter ‘name‘ not found.
> ###Error querying database. > Cause: org.apache.ibatis.binding.BindingException: Parameter 'name' not found. Available parameters are [student, page, param1, param2]报错内容说无法获取名为'name'的元素,可获取的元素是[student, page, param1, param2]原创 2022-04-23 15:41:36 · 7129 阅读 · 2 评论 -
ClassNotFoundException: Cannot find class: com.tentact.common.StringArrayTypeHandler
没有找到类异常原创 2022-04-22 14:47:29 · 619 阅读 · 0 评论 -
bug:mybatis
在学习MyBatis时,遇到的一些bug的总结。原创 2022-04-22 08:19:15 · 578 阅读 · 0 评论 -
Could not find resource mybatis.xml
Could not find resource mybatis.xml原创 2022-04-19 11:03:34 · 379 阅读 · 0 评论 -
mybatis映射问题
mybatis映射文件原创 2022-04-18 20:33:15 · 305 阅读 · 0 评论 -
无法获取到已创建的类
无法获取到自定义的类。自己手动导入包后也不能获取到这个类。原创 2022-04-18 20:17:33 · 160 阅读 · 0 评论 -
可恶的404
404报错The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.原创 2022-04-16 23:36:09 · 3234 阅读 · 0 评论