![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
错误
nothku
共同学习。
展开
-
控制台解析preview和response数据不一致,页面展示/前端处理long类型数据与实际数据不一致
控制台解析preview和response数据不一致,页面展示long类型数据与实际数据不一致问题描述排查问题原因问题解决问题描述排查 表定义id,bigint(20),实体Long类型,使用SnowflakeId(雪花id)生成。页面展示时有两三个id一模一样,通过排查表数据及页面调试发现控制台preview和response数据不一致,response中的数据是正确的。问题原因 数据为Long型,返回给浏览器以后,浏览器转换数据格式的时候出现问题。JS在处理返回数据类型是Long的时候,Lo原创 2020-06-06 17:20:21 · 2268 阅读 · 0 评论 -
SQL Warning Code: 1065, SQLState: 42000
提示:WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] SQL Warning Code: 1065, SQLState: 42000WARN [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] SQL Warning Code: 1065, SQLState: 42000WARN...原创 2020-01-08 10:09:37 · 1348 阅读 · 0 评论 -
SEVERE: ContainerBase.addChild: start: org.apache.catalina.LifecycleException: Failed to start原因与解决
tomcat启动报错:SEVERE: ContainerBase.addChild: start:org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[localhost].StandardContext[/test]] at...原创 2020-01-08 09:40:24 · 19854 阅读 · 4 评论 -
解决java.sql.SQLException: Failed to validate a newly established connection.
application.yml或application.properties数据库配置文件中配置问题原创 2019-09-06 17:22:38 · 4745 阅读 · 0 评论 -
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name defau
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name default, locale zh_CN at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:1...原创 2019-08-08 14:39:54 · 3468 阅读 · 0 评论 -
百度编辑器ueditor相关问题参考解决
1、解决enter键换行被<p>标签包裹https://blog.csdn.net/qq_33769914/article/details/849435212、去掉ueditor下面的元素路径。修改层级https://blog.csdn.net/qq_33769914/article/details/849401673、去掉ueditor复制来的内容默认带的样式https:/...原创 2019-07-19 10:52:40 · 309 阅读 · 0 评论 -
java.sql.SQLException: The server time zone value 'EDT' is unrecognized or represents more than one
1.错误信息: java.sql.SQLException: The server time zone value 'EDT' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone co...原创 2019-04-13 11:57:15 · 2848 阅读 · 0 评论 -
java.sql.SQLException: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java原因解决
java.sql.SQLException: java.lang.ClassCastException: java.math.BigInteger cannot be cast to java.lang.Long原创 2019-04-13 11:39:03 · 24593 阅读 · 17 评论 -
Tomcat异常Serveral ports(8005,8080,8009) required by Tomcat v8.0 Server at localhost are already in us
一 异常来源:启动Tomcat服务器报错:Several ports (8080, 8009) required by Tomcat v7.0 Server at localhost are already in use. The server may already be running in another process, or a system process may b...原创 2019-02-28 17:06:44 · 28388 阅读 · 5 评论 -
Eclipse安装使用Groovy插件之后,报错Groovy:compiler mismatch project levelis :2.2 Workspace level is 2.5
原因:java 编译器级别与项目版本不匹配。解决方法:在当前项目上点右键,属性 Properties,Groovy Compiler配置编译版本与java compiler的版本一致。原创 2018-11-16 15:09:57 · 3265 阅读 · 1 评论 -
The import javax.servlet.annotation cannot be resolved错误解决
遇到了好几次这个问题,每次都忘记上次是怎么解决的,记录一下。直接项目右键Properties或选中项目“右击”,选择“Build path”,然后"Add Libraries",再选择“Server Runtime” ,在弹出的框中选择自己启动项目使用的server类型和版本即可消除报错。...原创 2018-10-31 14:27:11 · 4105 阅读 · 1 评论