01 2024 档案
摘要:报错的原因 springBoot项目自带的tomcat对上传的文件大小有默认的限制,SpringBoot官方文档中展示:每个文件的配置最大为1Mb,单次请求的文件的总数不能大于10Mb。 解决方法 Spring Boot 2.0 版本 在 【application】配置文件中加入如下代码: # ma
阅读全文
摘要:创建线程的方式有哪些? 一种是通过 Executors 创建, 另一种是通过 ThreadPoolExecutorPools 创建 创建方式的优缺点? 不建议使用 Executors 创建线程,建议使用 ThreadPoolExecutorPools 创建方式进行自定义配置,因为 Executors
阅读全文
摘要:表设置触发器, create sequence Increase_Sequence minvalue 1 nomaxvalue increment by 1 start with 1 nocache; create or replace trigger dev_alert_config_trigge
阅读全文
摘要:springboot整合activiti,页面部分功能无法使用 pom文件依赖 <!--activiti > <!-- 可视化5.22的 modeler--> <dependency> <groupId>org.activiti</groupId> <artifactId>activiti-mode
阅读全文