![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
报错
懒惰的小妖
在看得见的地方学习知识,在看不到的地方学习智慧。
一点点剔除浮躁,逐渐沉淀,时间会回答所有的答案。
展开
-
SQL command not properly ended
SQL command not properly ended原创 2022-07-02 17:09:40 · 877 阅读 · 0 评论 -
JSON parse error: Cannot deserialize instance of `java.lang.String` out of START_ARRAY token;
前后端接口联调的时候查看日志报错:JSON parse error: Cannot deserialize instance of `java.lang.String` out of START_ARRAY token;主要是前后端传参类型不一致导致的,前端的某个字段传的是数组,但是后端的是string,所以就导致报错;解决方法:让前端修改入参的格式;...原创 2022-05-23 14:34:00 · 27728 阅读 · 0 评论 -
IEDA中项目结构修改后,类存在却引不了
这个时候最好的办法就是清理ieda的缓存;File->Invalidate Caches /Restart...原创 2021-07-22 15:05:03 · 127 阅读 · 0 评论 -
java:程序包org.springframework.boot不存在
启动项目,报java:程序包org.springframework.boot不存在,查看项目下的Application是存在的解决:查看maven配置,配置没问题,点击maven-->runner,勾选Delegate IDE build/run actions to Maven;再次启动ok!原创 2021-07-22 14:56:34 · 1448 阅读 · 0 评论 -
XML注释内容中不能出现“--”
小编今日更新代码后,启动项目报错:org.xml.sax.SAXParseException:lineNumber:3799;columnNumber: 37;columnNumber:3;注释中不允许出现字符串“--”出现原因:在xml中注释是 <!-- XXX --XXX--> ;解决方案:删除注释内容中的“--”;重新启动项目ok;衍生问题:通常我们在注释...原创 2020-02-26 11:26:56 · 1034 阅读 · 0 评论 -
org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject, org.apach
eclipse中导入maven项目时,pom.xml第一行报错:org.apache.maven.archiver.MavenArchiver.getManifest(org.apache.maven.project.MavenProject,org.apache.maven.archiver.MavenArchiveConfiguration)原因:maven的配置文件不是最新的插件;...原创 2019-07-07 14:31:27 · 162 阅读 · 0 评论 -
ReferenceError:$ is not defined
在代码中小编通过,如下操作,前端报错。代码类型如下:$("#aaa").remove;通过运行,发现并未执行此操作,console查看报错。ReferenceError:$ is not defined。查看引入的script位置有问题,因为$是jquery产生的对象,js是根据引用标签分块顺序进行的,所以要将jquery.js放在最前面。将代码重新放置后执行ok....原创 2019-07-11 14:18:33 · 9941 阅读 · 0 评论 -
TypeError:regex.test is not a function
在前端html中对输入文本框中的值进行校验的过程中出现的问题,页面报错:TypeError:regex.test is not a function。var regex = /^(\d+)\.(\d+)\.(\d+)\.(\d+)$/;var regex = "/^(\d+)\.(\d+)\.(\d+)\.(\d+)$/ ";错误原因:多加了双引,导致页面报错。记录下来,引以为...原创 2019-07-09 18:55:12 · 1727 阅读 · 0 评论 -
SpringBoot启动项目报错: Cannot expose session attribute 'user' because of an existing model object of the
报错:Cannot expose session attribute 'user' because of an existing model object of the same namejavax.servlet.ServletException: Cannot expose session attribute 'user' because of an existing model o...原创 2019-03-04 16:53:54 · 1679 阅读 · 0 评论 -
Duplicate entry 'xxx' for key 'AK_idx_email'
### Error updating database. Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Duplicate entry 'xxxxxx@163.com' for key 'AK_idx_email'### The error may involve def...原创 2019-02-28 18:47:30 · 6089 阅读 · 0 评论 -
mysql的时区错误问题: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one
报错: The server time zone value 'Öйú±ê׼ʱ¼ä' is unrecognized or represents more than one解决方法1:show VARIABLES like '%time_zone%'set GLOBAL time_zone="+8:00"面对mysql的时区问题,只要将时间设置为你当前系统的时区就行。...原创 2019-02-22 13:09:58 · 196 阅读 · 0 评论 -
报错:javax.servlet.ServletException: Circular view path [path]: would dispatch back to the
javax.servlet.ServletException: Circular view path [path]: would dispatch back to the current handler URL [/path] again. Check your ViewResolver setup! (Hint: This may be the result of an unspecified...原创 2019-01-16 16:48:37 · 2539 阅读 · 0 评论 -
JPA中报错:org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with na
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'studentController': Unsatisfied dependency expressed through field 'studentDAO'; nested exception is o...原创 2019-01-20 10:37:51 · 1657 阅读 · 0 评论 -
WebSocket中的报错:Exception in thread "Thread-5" java.lang.IllegalStateException: The remote endpoint wa
Exception in thread "Thread-5" java.lang.IllegalStateException: The remote endpoint was in state [TEXT_FULL_WRITING] which is an invalid state for called method at org.apache.tomcat.websocket....原创 2019-01-20 09:17:16 · 3576 阅读 · 1 评论