在Windows删除文件或文件夹有时候会报:
操作无法完成,因为其中的文件夹或文件已在另一程序中打开 请关闭该文件夹或文件,然后重试。如下图:
但桌面可能并没有打开这个文件夹或文件。
这是因为后台某个程序打开或占用了这个文件,通常重启电脑可以解决这个问题,如
......[阅读全文]
Postgresql运行SQL文件报错: 关系 "xx_yy_seq" 不存在
其中: xx是表名,yy是字段名
导出的Postgresql SQL文件如下:
DROP TABLE IF EXISTS "public"."student";
CREATE TABLE "public"."student" (
"id" int4 NOT NULL DEFAULT nextval('student_id_seq'::regclass),
......[阅读全文]
<delete id="deleteStudentByIds" parameterType="String">
delete from student where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
用MyBatis批量删除Postg
......[阅读全文]
* 结构、工作区、内表区别:
* 结构: 不能赋值,只能作为工作区和内表定义的参照 .
* 工作区: 单行结构数据,相当于Java中的 Map<String, Object> .
* 内表: 多行结构数据,相当于Java中的 List< Map<String, Object> > .
REPORT ych_structure_define.
......[阅读全文]
wx.onMenuShareTimeline 的 success() 回调没反应
具体表现是上午可以正常回调,下午则没有反应
遇到这种情况首先打开微信公众平台jssdk的debug模式
wx.config({
debug: true,
...
})
这时候页面会弹出错误信息,进一步追踪发现是获取access_token接口请求
......[阅读全文]
以前在做URL重写,更换域名,做http->https跳转的时候,习惯于使用301重定向,也就是永久重定向,没有出现过什么问题,但最近在工作中遇到,https网站有问题,并且短期内无法解决,需要回退到http站点,这就出现问题了,这个重定向已经缓存到客户端了,解决办法只能是手工清除
......[阅读全文]
1,下载相关软件
# Apache
> wget http://archive.apache.org/dist/httpd/httpd-2.4.39.tar.gz
# pcre
> wget ftp://ftp.pcre.org/pub/pcre/pcre-8.39.tar.gz
# apr & apr-util
> wget https://mirrors.tuna.tsinghua.edu.cn/apache/apr/apr-1.7.0.tar.g
......[阅读全文]
Multiple annotations found at this line:
- cvc-elt.1: Cannot find the declaration of element 'beans'.
- schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-4.3.xsd', because 1) could not find the d
......[阅读全文]
明天中秋节放假,回想起13年前的中秋节自己写的一篇博客,感触良多。
多记博客,哪怕再简单,还是有点意思的。
https://blog.csdn.net/jom_ch/article/details/1323215
给Nginx添加http_ssl_module
查看原编译参数:
sbin/nginx -V
重新编译之后,配置好证书,重启Nginx:
sbin/nginx -s reload
没有报异常,域名无法访问,Nginx也没有错误日志,但access日志报下面的乱码:
x.x.x.x - - [12/Sep/2019:10:39:40 +0800] "\x16\x03\x0
......[阅读全文]