![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
issues
She_lock
get busy living,or get busy dying.
展开
-
querydsl查询pg数据库 jsonb类型字段 多了一个type问题处理
问题工作中遇到一个问题,QueryDSL查询 pg数据库的一个表,表中一个某个字段类型是jsonb,jsonb的存取和json在java层面上没有什么区别,但是得到的数据,会多余了一个type字段。比如:数据库存的是: {"wubi": "tgrpss", "pinyin": "teshuzhidingjigou", "shoupin": "tszdjg"}经过QueryDSL查出来的数据就变成了下面这样: { "type": "jsonb", "value":原创 2021-07-05 18:06:45 · 1178 阅读 · 0 评论 -
oracle使用日常总结
select 中包含@字符查询数据库 zscls 那里的 wskh用户下的t_kfzl 表。其中nvl表示khyyb字段为null时,展示0。select k.activity_id, nvl(k.khyyb,0) khyyb from wskh.t_kfzl@zscls k如遇问题,持续更新中。。。...原创 2019-03-14 16:52:21 · 291 阅读 · 0 评论 -
idea抛错,Content is not allowed in prolog
问题:昨天一步小心拔了插座,早上过来idea就打开不了项目了,查看日志文件C:\Users\Administrator\.IntelliJIdea2017.3\system\log ,发现抛错如下:Caused by: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed i...原创 2018-12-19 10:01:46 · 3114 阅读 · 1 评论 -
Unable to infer base url. This is common when using dynamic servlet registration or when the API is
问题:Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. ...原创 2018-11-16 10:08:25 · 10829 阅读 · 1 评论 -
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jffa.QRTZ_TRIGGERS' doesn't exist
场景:看过 人人 快速开发的都明白,这里面有很多qrtz_开头的11个表,这些表不是业务表,是定时任务的辅助表。情况是这样的,我在线下,利用的是人人这同一套代码,个人博客的表什么的都新建好了,线下测试也没有问题,上线的时候,抛出这一段错误:com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'jffa.QRTZ_TR...原创 2018-08-28 10:01:41 · 7870 阅读 · 2 评论 -
Use // eslint-disable-next-line to ignore the next line.
错误信息:You may use special comments to disable some warnings.Use // eslint-disable-next-line to ignore the next line.Use /* eslint-disable */ to ignore all warnings in a file.如上错误信息,什么少一个空格啦,多...原创 2018-08-23 16:46:27 · 30206 阅读 · 6 评论 -
thymeleaf 怎么降低对html的解析标准
正常情况下,如果不做任何配置的话,thymeleaf会以严格的html标准来要求html文件的标签以及js代码遵守规范。但是我们知道html代码是一种不是那么严格的语言,导致很多码农编码时并不是那么严格按照规范,比如<meta>、<link>标签没有闭合,js代码中一些转义字符,还有一些奇葩的空格,都可能导致html文件的解析出错org.xml.sax.SAXParseEx...原创 2018-06-06 15:56:56 · 5237 阅读 · 0 评论 -
The temporary upload location [/tmp/tomcat.1337767218595042057.80/work/Tomcat/localhost/ROOT] is not
线上的系统中不能上传文件了,出现如下错误:org.springframework.web.multipart.MultipartException: Could not parse multipart servlet request;nested exception is java.io.IOException: The temporary upload location [/tmp/to...原创 2018-05-07 21:01:32 · 13884 阅读 · 5 评论 -
如何在mysql数据库中保存emoji特殊字符
原文地址:http://blog.csdn.net/fudaoji/article/details/70239479 MySQL在5.5.3版本之后增加了这个utf8mb4的编码,mb4就是most bytes 4的意思,专门用来兼容四字节的unicode。其实,utf8mb4是utf8的超集,理论上原来使用utf8,然后将字符集修改为utf8mb4,也 会不会对已有的utf8编码读取产生...转载 2018-04-27 10:29:31 · 4586 阅读 · 0 评论 -
The authenticity of host '183.131.153.101 (183.131.153.101)' can't be established.
我的远程主机183.131.153.101不能建立连接,解决办法修改/etc/ssh/ssh_config文件的配置,以后则不会再出现此问题。文章最后添加:StrictHostKeyChecking no原创 2018-03-23 16:53:56 · 6593 阅读 · 0 评论 -
nginx启动后,访问报403错误
出现这种错有很多原因,文件缺失,比如在相应的配置位置没有找到 index.html 文件,也有权限的问题 Permission deniedPermission denied错误查看nginx日志,路径为 /var/log/nginx/error.log,发现日志报错Permission denied。切换到目录下cd /var/log/nginx/ 查看错...原创 2018-03-13 10:19:47 · 11047 阅读 · 2 评论