Fork me on GitEE
摘要: 1.将启动项打包程序修改为war包 <packaging>war</packaging 2.去除原有的jar包打包插件,换位war包打包插件 本插件支持springboot2.7.12 jdk1.8 ,需要项目的版本选择合适的打包版 第三步: 增加对Servlet的适配 基本到这里war包已经打包成 阅读全文
posted @ 2024-09-14 09:15 问道于盲 阅读(2) 评论(0) 推荐(0) 编辑
摘要: import com.alibaba.fastjson.JSON;import com.alibaba.fastjson.JSONObject;import org.apache.commons.collections.MapUtils;import org.apache.commons.lang3 阅读全文
posted @ 2021-09-24 10:09 问道于盲 阅读(110) 评论(0) 推荐(0) 编辑
摘要: socket config package com.example.springbootmybatisredis.conf;import org.springframework.context.annotation.Bean;import org.springframework.context.an 阅读全文
posted @ 2021-07-20 11:58 问道于盲 阅读(50) 评论(0) 推荐(0) 编辑
摘要: import org.openqa.selenium.WebDriver;import org.openqa.selenium.chrome.ChromeDriver;import org.openqa.selenium.chrome.ChromeOptions;/** * <p> * * </p> 阅读全文
posted @ 2021-07-05 16:53 问道于盲 阅读(92) 评论(0) 推荐(0) 编辑
摘要: @Target(ElementType.METHOD)@Retention(RetentionPolicy.RUNTIME)@Inherited@Documentedpublic @interface Notification{ @AliasFor("userId") String userId() 阅读全文
posted @ 2021-06-29 11:38 问道于盲 阅读(140) 评论(0) 推荐(0) 编辑
摘要: <update id="updateBatchNoticeEditTypeById" parameterType="java.util.List"> update task_notice_setup <trim prefix="set" suffixOverrides=","> <trim pref 阅读全文
posted @ 2021-06-29 10:01 问道于盲 阅读(417) 评论(0) 推荐(0) 编辑
摘要: 开启定时任务@EnableScheduling @Componentpublic class TestScheduling { private static final Logger LOG = LoggerFactory.getLogger(TestScheduling.class); @Sche 阅读全文
posted @ 2021-06-17 14:53 问道于盲 阅读(196) 评论(0) 推荐(0) 编辑
摘要: 依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>2.1.6</version></dependency>demo 比poi缩减了很多 ,真正的读写就一行就一行 @Po 阅读全文
posted @ 2021-06-09 14:58 问道于盲 阅读(9040) 评论(0) 推荐(0) 编辑
摘要: 添加依赖redis依赖 ,cache是springstart web 自带的 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</artifactId> <ve 阅读全文
posted @ 2021-06-03 17:48 问道于盲 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 花了两天时间把flowable 给学了一下1.1pom 依赖 <!--flowable工作流依赖--><dependency> <groupId>org.flowable</groupId> <artifactId>flowable-spring-boot-starter-basic</artifa 阅读全文
posted @ 2021-06-02 14:20 问道于盲 阅读(503) 评论(0) 推荐(0) 编辑