自搓订单系统
文章平均质量分 78
Cute_LuoBo
这个作者很懒,什么都没留下…
展开
-
Activiti7踩坑记录(二),依赖冲突NoSuchMethodError: javax.el.ELUtil.getExpressionFactory
项目场景: 运行环境: SpringBoot - 2.3.1 Activiti - 7.1.0M4 问题描述: 引进依赖后,尝试测试一下业务流程,结果第一行debug还没开始,就已经出现错误了 测试代码: @Autowired private RepositoryService repositoryService; @Test public void initDeploymentBPMN(){ //bpmn文件所在的文件路径 String filen原创 2021-06-11 13:40:59 · 4258 阅读 · 6 评论 -
Activiti踩坑记录(一),mybatis报错No typehandler found for property XXX问题
项目场景: 之前自己写的系统订单流程功能不够用,于是打算用用Activiti7,结果引入后就报错 问题描述: 环境:springboot@2.3.1+shiro@1.7 新增引入activiti-spring-boot-starter@7.1.0.M4(听说M6版本有强引入Spring Security,M5有其他BUG,这里为了避免麻烦就用的M4) pom.xml新增如下: <properties> <activiti.version>7.1.0.M4<原创 2021-06-10 15:07:19 · 1425 阅读 · 0 评论 -
SpringBoot项目使用RestTemplate发送请求踩坑记录
开发背景 系统要对接飞鹅云打印机进行打印,需要通过指定接口打印数据 因为使用SpringBoot开发,刚好用RestTemplate+postForObject发送POST请求并接受结果。 设置请求头(Content-Type) 接口要求请求头中要带Content-Type: application/x-www-form-urlencoded 思路: 先创建个实现ClientHttpRequestInterceptor接口的类,在intercept(…)方法中对请求头设置,在使用RestTemplate的时原创 2021-04-20 19:01:21 · 2021 阅读 · 2 评论