Document
摘要: activiti7移除了静态方法创建ProcessDiagramGenerator,需要创建DefaultProcessDiagramGenerator实例 依赖: <properties> <batik-transcoder.version>1.17</batik-transcoder.versi 阅读全文
posted @ 2023-12-07 14:35 夏目co 阅读(1149) 评论(0) 推荐(0) 编辑
摘要: 用windows虚拟机安装jdk的时候一直闪退,索性就直接搞解压版,结果百度搜的全是某dn要积分的。。。 找到之后上传网盘直接下,不知道有人用得上不,包含免安装和其他版本的。 先上官网归档连接,可以直接去官网下载,右侧选版本:Java Archive | Oracle Windows(jdk7、8、 阅读全文
posted @ 2022-05-26 15:14 夏目co 阅读(5701) 评论(0) 推荐(0) 编辑
摘要: 今天维护老项目改Bug遇到一个这个问题: Could not write JSON: Object is null; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Object is null (th 阅读全文
posted @ 2021-10-16 11:05 夏目co 阅读(1359) 评论(0) 推荐(0) 编辑
摘要: oauth2的依赖版本: <dependency> <groupId>org.springframework.security.oauth.boot</groupId> <artifactId>spring-security-oauth2-autoconfigure</artifactId> <ve 阅读全文
posted @ 2021-09-09 09:38 夏目co 阅读(1063) 评论(0) 推荐(0) 编辑
摘要: 之前的版本创建邮件发送的方式: String text = VelocityEngineUtils.mergeTemplateIntoString( velocityEngine, "模板名称.vm", "UTF-8", model); 由于VelocityEngineUtils类移除,用这个方式创 阅读全文
posted @ 2021-08-23 10:51 夏目co 阅读(495) 评论(0) 推荐(1) 编辑
摘要: 破解教程网上一大堆了,直接发文件地址好勒,地址里面有idea2019.3版本,和jetbrains-agent.jar包和激活码。 链接: https://pan.baidu.com/s/1a0eAlsWjfe-ovcZBt9cErw?pwd=mjza 提取码: mjza 注意 Edit Custo 阅读全文
posted @ 2020-03-15 18:48 夏目co 阅读(7732) 评论(3) 推荐(0) 编辑
摘要: 加了一个转成了Base64编码。,其他的和网上一样。 1 public class ValidateCodeUtil { 2 3 // 图片的宽度。 4 private int width = 160; 5 // 图片的高度。 6 private int height = 40; 7 // 验证码字 阅读全文
posted @ 2020-03-15 18:31 夏目co 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 最近在面试,好多的面试题,笔试题,有的笔试题搜百度搜不到点子上的 这个刚开始看着很简单,后面说要排序,想起了用Collections里面自定义的比较器 代码: public class StringDemo { public static void main(String[] args) { Str 阅读全文
posted @ 2019-11-30 18:33 夏目co 阅读(632) 评论(0) 推荐(0) 编辑
摘要: 早上重新配置了一下dubbo,报了这个异常 Initialization of bean failed; nested exception is com.alibaba.dubbo.rpc.RpcException: Fail to start server ... Failed to bind N 阅读全文
posted @ 2019-11-20 13:11 夏目co 阅读(3385) 评论(0) 推荐(0) 编辑
摘要: 今天用canal来监听mysql binlog,使用feign远程调用, 请求过去,并且能查询到数据返回。 但是在调用方法处抛出异常,也就是不能走到下面的 if判断: 异常信息中提取大致: end of stream when reading header 你的主机中的软件中止了一个已建立的连接.. 阅读全文
posted @ 2019-11-03 23:22 夏目co 阅读(4407) 评论(0) 推荐(0) 编辑