随笔分类 - 日常问题记录
问题记录整理
摘要:https://cloud.tencent.com/developer/article/1813377 https://help.aliyun.com/document_detail/43898.html
阅读全文
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
阅读全文
jdk11,jdk12 使用exe4j 无jre解决办法
摘要:使用javafx开发,exe4j把jar包封装成exe包,引用jre报错 Caused by: java.lang.ClassNotFoundException: javax.script.Bindings 可以根据idea查看javax.script.Bindings这个类,其实是引用的jdk l
阅读全文
Java 获取本机桌面目录
摘要://获取本机桌面目录File desktopDir = FileSystemView.getFileSystemView().getHomeDirectory();String desktopPath = desktopDir.getAbsolutePath();
阅读全文
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
阅读全文
浙公网安备 33010602011771号