java
字节里的摄氏度
头发健全
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
window系统用winsw将jar包做成后台服务
1、下载winsw.exewinsw.exe文件下载路径:https://github.com/winsw/winsw/releases2、编写配置文件sample.xmlsamplesampleThis service runs sample system.java-Xrs -Xmx256m -jar “%BASE%\sample.jar” 3、修改为同样的名称把sample.jar、sample.xml、winsw.exe 放到同一目录,并且修改为和jar包同样的名称修改前原创 2022-01-19 18:14:43 · 580 阅读 · 0 评论 -
javax.crypto.IllegalBlockSizeException: Data must not be longer than 117 bytes
在对接三方接口,对方要求rsa加密,我们使用了Cipher对象,根据某个维度进行了Cipher对象的复用,在并行下报错: Data must not be longer than 117 bytes。总结:Cipher使用时每次必须init错误示例:public static Cipher getCipher(StationAdp stationAdp) throws Exceptio {Cipher cipher = cipherMap.get(stationAdp.getStationNo())原创 2021-09-28 15:00:36 · 2208 阅读 · 0 评论 -
git命令记录
1、回滚提交git log 查看后退对应版本git reset --hard 【版本号】2、本地和远程分支同步git fetch -p 更新远程分支git branch -a 查看远程分支git branch 分支名 -d 删除远程分支原创 2021-09-24 17:38:33 · 106 阅读 · 0 评论 -
Control character in cookie value or attribute
java.lang.IllegalArgumentException: Control character in cookie value or attribute.at org.apache.tomcat.util.http.CookieSupport.isV0Separator(CookieSupport.java:165)at org.apache.tomcat.util.http.Cookies.processCookieHeader(Cookies.java:349)at org.apach原创 2021-09-02 13:41:32 · 238 阅读 · 0 评论
分享