会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盲人java
生命的new和close都非常消耗精力
博客园
首页
新随笔
联系
订阅
管理
2024年9月14日
将springboot项目打成war包
摘要: 1.将启动项打包程序修改为war包 <packaging>war</packaging 2.去除原有的jar包打包插件,换位war包打包插件 本插件支持springboot2.7.12 jdk1.8 ,需要项目的版本选择合适的打包版 第三步: 增加对Servlet的适配 基本到这里war包已经打包成
阅读全文
posted @ 2024-09-14 09:15 问道于盲
阅读(455)
评论(0)
推荐(0)
2021年9月24日
HttpUtils
摘要: 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 问道于盲
阅读(128)
评论(0)
推荐(0)
2021年7月20日
WebSocket
摘要: socket config package com.example.springbootmybatisredis.conf;import org.springframework.context.annotation.Bean;import org.springframework.context.an
阅读全文
posted @ 2021-07-20 11:58 问道于盲
阅读(59)
评论(0)
推荐(0)
2021年7月5日
SeleniumUtil自动Cookies免登录
摘要: 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 问道于盲
阅读(96)
评论(0)
推荐(0)
2021年6月29日
自定義注解+el表達式
摘要: @Target(ElementType.METHOD)@Retention(RetentionPolicy.RUNTIME)@Inherited@Documentedpublic @interface Notification{ @AliasFor("userId") String userId()
阅读全文
posted @ 2021-06-29 11:38 问道于盲
阅读(159)
评论(0)
推荐(0)
批量update语句优化
摘要: <update id="updateBatchNoticeEditTypeById" parameterType="java.util.List"> update task_notice_setup <trim prefix="set" suffixOverrides=","> <trim pref
阅读全文
posted @ 2021-06-29 10:01 问道于盲
阅读(433)
评论(0)
推荐(0)
2021年6月17日
scheduling轻量级Quartz 简单使用
摘要: 开启定时任务@EnableScheduling @Componentpublic class TestScheduling { private static final Logger LOG = LoggerFactory.getLogger(TestScheduling.class); @Sche
阅读全文
posted @ 2021-06-17 14:53 问道于盲
阅读(209)
评论(0)
推荐(0)
2021年6月9日
easyExcel 将一列的单元格格式改为数值格式
摘要: 依赖 <dependency> <groupId>com.alibaba</groupId> <artifactId>easyexcel</artifactId> <version>2.1.6</version></dependency>demo 比poi缩减了很多 ,真正的读写就一行就一行 @Po
阅读全文
posted @ 2021-06-09 14:58 问道于盲
阅读(9931)
评论(0)
推荐(0)
2021年6月3日
关于springboot cache 交给redis存储
摘要: 添加依赖redis依赖 ,cache是springstart web 自带的 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-redis</artifactId> <ve
阅读全文
posted @ 2021-06-03 17:48 问道于盲
阅读(157)
评论(0)
推荐(0)
2021年6月2日
flowable工作流学习
摘要: 花了两天时间把flowable 给学了一下1.1pom 依赖 <!--flowable工作流依赖--><dependency> <groupId>org.flowable</groupId> <artifactId>flowable-spring-boot-starter-basic</artifa
阅读全文
posted @ 2021-06-02 14:20 问道于盲
阅读(542)
评论(0)
推荐(0)
下一页
公告