项目错误
皮卡丘踢球
这个作者很懒,什么都没留下…
展开
-
数据库版本(8.*)导致的表大小写敏感java.sql.SQLSyntaxErrorException: Table ** does not exist
java.sql.SQLSyntaxErrorException: Table **does not exist这是一个MySQL数据库版本(8.*)导致的表大小写敏感导致的未找到表的问题,如果你数据库内确实表不存在,请不用往下看了。公司一个旧的权限系统,最开始是sqlserver数据库,后来修改为mysql数据库5.*版本,昨天公司权限数据库被黑,为了不影响使用,所以将数据库临时换到了另外一台8.0版本的数据库。更换驱动jar包以及驱动类,以及然后启动权限系统正常,但是登录时候出问题了。.原创 2020-11-19 17:01:42 · 478 阅读 · 0 评论 -
AES接口加密java.security.InvalidKeyException: Illegal key size
本地Windows调试接口,AES接口加密正常。但是发布到linux服务器后,报错:java.security.InvalidKeyException: Illegal key size原因:如果密钥大于128, 会抛出java.security.InvalidKeyException: Illegal key size 异常. 因为密钥长度是受限制的, java运行时环境读到的是受限的policy文件。解决方案:去官方下载JCE无限制权限策略文件。jdk 5下载地址jdk6原创 2020-11-02 11:27:04 · 193 阅读 · 0 评论 -
JSON.parse报错Unexpected token l in JSON at position 2
json格式不规范造成的,key值一定要用双引号包起来。原创 2020-01-14 14:26:09 · 626 阅读 · 0 评论 -
springboot+thymeleaf项目本地运行正常,打包部署服务器后访问页面500错误
项目背景:springboot+thymeleaf本地运行正常,打包部署服务器后访问页面500错误接口正常报错页面如下:Whitelabel Error PageThis application has no explicit mapping for /error, so you are seeing this as a fallback.Mon Jan 13 18:58:...原创 2020-01-13 19:20:31 · 3170 阅读 · 2 评论 -
java.lang.IllegalStateException: Web app root system property already set to different value: 'webap
报错为:java.lang.IllegalStateException: Web app root system property already set to different value: 'webapp.root' = [G:\apache-tomcat-8.0.53-wupu\webapps\ewp_gisTools_data3\] instead of [G:\apache-tom...原创 2019-07-15 15:32:33 · 1212 阅读 · 0 评论 -
org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): mapper.TestMapper
2019-03-14 15:43:22.134 ERROR 13564 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request...原创 2019-03-14 15:53:22 · 1291 阅读 · 0 评论 -
linux执行命令报错-bash: syntax error near unexpected token `('
今天执行数据库备份,只备份某些表时,碰到这个错误:命令如下:exp e/lqa@10.100.000.00/erw file=/opt/exwp_201812212023.dmp tables=()AUDIT_RESULT,ORGANIZATION_CENTER)报错如下: 然后经查证,linux5.0之后,是不能带有括号的,需要转译。转译的方法如下:tables=...原创 2018-12-24 20:43:17 · 18598 阅读 · 0 评论 -
项目中优先使用slf4j,三方插件强制使用log4j,NoSuchMethodError: org.apache.log4j.Category.log
springboot项目中优先使用slf4j,但是使用了一个三方插件,插件中强制使用log4j。问题来了,启动报错:Caused by: java.lang.NoSuchMethodError: org.apache.log4j.Category.log经查证,问题出在项目已经使用slf4j,但是插件使用的log4j,他们是有冲突的。解决方法:新建一个log4j.propertie...原创 2018-08-30 09:39:30 · 984 阅读 · 0 评论 -
Errors occurred during the build. Errors running builder 'JavaScript Validator' on project 'xxx'
解决办法: 右键项目,properties中原创 2018-05-09 15:52:51 · 685 阅读 · 0 评论 -
Ajax提交表单报400 bad request错误
Ajax提交表单报400 bad request错误原创 2016-11-23 20:06:53 · 5007 阅读 · 0 评论 -
关于请求报错-ReferenceError: $ is not defined
关于请求报错-ReferenceError: $ is not defined原创 2016-11-18 13:35:44 · 12713 阅读 · 0 评论