随笔分类 -  日常问题记录

问题记录整理
摘要:https://cloud.tencent.com/developer/article/1813377 https://help.aliyun.com/document_detail/43898.html 阅读全文
posted @ 2022-12-09 15:53 搬砖小将 阅读(14) 评论(0) 推荐(0)
Linux jdk中导入https CA证书
摘要:Linux jdk中导入https CA证书, Step1 从网站直接导出https CA证书 base64 Step2 上传至服务器/data/jdk1.8.0_202/jre/lib/security Step3 将证书导入java的cacerts证书库 Step4 执行keytool -imp 阅读全文
posted @ 2022-02-16 15:01 搬砖小将 阅读(3004) 评论(0) 推荐(0)
jdk11,jdk12 使用exe4j 无jre解决办法
摘要:使用javafx开发,exe4j把jar包封装成exe包,引用jre报错 Caused by: java.lang.ClassNotFoundException: javax.script.Bindings 可以根据idea查看javax.script.Bindings这个类,其实是引用的jdk l 阅读全文
posted @ 2022-02-09 14:54 搬砖小将 阅读(881) 评论(0) 推荐(0)
Java 获取本机桌面目录
摘要://获取本机桌面目录File desktopDir = FileSystemView.getFileSystemView().getHomeDirectory();String desktopPath = desktopDir.getAbsolutePath(); 阅读全文
posted @ 2021-12-16 15:51 搬砖小将 阅读(132) 评论(1) 推荐(1)
class path resource [classpath:xxx.docx] cannot be opened because it does not exist
摘要:class path resource [classpath:xxx.docx] cannot be opened because it does not exist 这个报错是文件读取不到。 解决办法: //本地读取: File tmpFile = null; try { tmpFile = Re 阅读全文
posted @ 2021-12-16 15:50 搬砖小将 阅读(497) 评论(0) 推荐(0)