摘要: 背景:最近因为工作原因,装了360杀毒引擎,完了就卸载了。发现一直提示文件正在使用无法删除。文件无法访问等等。经过一系列操作,安全模式下都无法删除,恶心死了。。。 1.shirt + del 按文件夹先强制删除一批 2.进入安全模式,shirt+del 再次按文件夹再删除一批 3.回到正规系统,管理 阅读全文
posted @ 2022-08-23 16:43 SimpleSmile 阅读(130) 评论(0) 推荐(0) 编辑
摘要: merge into tableA a using( SELECT a,b,c from tableB ) b on (a.id = b.id)//这里一定要用括号包起来.... when matched then update set a.a=b.a, a.b= b.b, a.c= b.c 阅读全文
posted @ 2022-08-10 11:17 SimpleSmile 阅读(855) 评论(0) 推荐(0) 编辑
摘要: 参考地址:https://blog.csdn.net/weixin_43317914/article/details/124770393 1.关闭虚拟机 2.打开cmd,查看本机dns 3.打开虚拟机工具栏 编辑->虚拟网络编辑器 4.查看虚拟机默认网关 5.启动centos,进入 cd /etc/ 阅读全文
posted @ 2022-07-19 14:53 SimpleSmile 阅读(346) 评论(0) 推荐(0) 编辑
摘要: 环境:由于数据库更换,做数据同步,提示 too long 问题,导致一直无法同步完数据。 经排查 oracle 历史数据库版本: Oracle Database 12c Standard Edition Release 12.2.0.1.0 - 64bit Production 新的数据库版本:Or 阅读全文
posted @ 2022-05-24 09:10 SimpleSmile 阅读(1506) 评论(0) 推荐(0) 编辑
摘要: RestTemplate httpClientTemplate = new RestTemplate(); List<HttpMessageConverter<?>> converters = httpClientTemplate.getMessageConverters(); List<HttpM 阅读全文
posted @ 2022-02-18 15:31 SimpleSmile 阅读(431) 评论(0) 推荐(0) 编辑
摘要: 需要引入的包 import org.apache.poi.hssf.usermodel.*; import org.apache.poi.ss.usermodel.HorizontalAlignment; import org.apache.poi.ss.usermodel.VerticalAlig 阅读全文
posted @ 2022-02-09 08:50 SimpleSmile 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 1.加载是可以加载到的,但是只能是以流的形式存在。 2.如果要按文件进行加载,可以新建一个文件,然后以流的形式写入到新的文件中。 3.加载这个新的文件来进行处理。 阅读全文
posted @ 2022-01-17 19:36 SimpleSmile 阅读(312) 评论(0) 推荐(0) 编辑
摘要: 一、linux端口被禁用,通过telnet查看。(我这里没问题) 二、排查环境参数是否一致(我这里没问题) 三、查看jdk版本原因,因为jdk1.8有的版本禁用了ssl 参阅文档:https://blog.csdn.net/weixin_38111957/article/details/805776 阅读全文
posted @ 2021-12-21 14:02 SimpleSmile 阅读(373) 评论(0) 推荐(0) 编辑
摘要: linux时间显示为:Tue Nov 30 09:33:04 CST 2021 SimpleDateFormat sdf = new SimpleDateFormat("EEE MMM dd HH:mm:ss zzz yyyy", Locale.US); String newStartDate = 阅读全文
posted @ 2021-11-30 09:40 SimpleSmile 阅读(227) 评论(0) 推荐(0) 编辑
摘要: 测试环境springboot md5加密结果不一致 linux启动的时候 java -Dfile.encoding=utf-8 -jar xxx.jar 即可。主要是编码不一致导致。 阅读全文
posted @ 2021-11-29 17:19 SimpleSmile 阅读(366) 评论(0) 推荐(0) 编辑