上一页 1 2 3 4 5 6 ··· 12 下一页
摘要: SpringBoot使用定时任务 properties.yml server: port: 9090 spring: application: name: mydemo jackson: date-format: yyyy-MM-dd HH:mm:ss time-zone: GMT+8 mvc: f 阅读全文
posted @ 2020-12-23 10:13 liuxm-刘小明 阅读(239) 评论(0) 推荐(0)
摘要: 一、错误文件查询顺序: 1.resources/templates/error 目录下 4xx 或 5xx 页面,如果找到则使用 2.resources/static/error 目录下寻找 4xx 或 5xx 页面,如果找到则使用 3.最后则使用 SpringBoot默认的错误页面 二、配置文件查 阅读全文
posted @ 2020-10-29 17:08 liuxm-刘小明 阅读(155) 评论(0) 推荐(0)
摘要: 关于jwt <dependency> <groupId>io.jsonwebtoken</groupId> <artifactId>jjwt</artifactId> <version>0.9.1</version></dependency> 配置 keyprivate static final S 阅读全文
posted @ 2020-05-19 09:29 liuxm-刘小明 阅读(273) 评论(0) 推荐(0)
摘要: spring boot 使用filter 实现跨域请求 1.请求处理流程 Filter->DispatcherServlet->Intercepter->Controller 2.配置扫描filter 在SpringBootApplication上使用@ServletComponentScan注解后 阅读全文
posted @ 2020-05-18 11:04 liuxm-刘小明 阅读(2795) 评论(0) 推荐(0)
摘要: SpringBoot操作excel示例 1.添加pom引用 <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.17</version> </dependency> <depen 阅读全文
posted @ 2020-04-02 19:19 liuxm-刘小明 阅读(3969) 评论(0) 推荐(0)
摘要: 1.src/main/resources/application.properties #服务端口 server.port=8080 #应用名称 spring.application.name=appdemo spring.thymeleaf.enabled=true spring.thymelea 阅读全文
posted @ 2020-03-31 09:13 liuxm-刘小明 阅读(332) 评论(0) 推荐(0)
摘要: springboot中集成quzrtz ,持久到mongodb 1.pom引用 <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://ww 阅读全文
posted @ 2019-12-11 12:11 liuxm-刘小明 阅读(2298) 评论(1) 推荐(0)
摘要: 官网文档http://www.quartz-scheduler.org/documentation/quartz-2.2.2/ 使用参考文档https://www.w3cschool.cn/quartz_doc/quartz_doc-h4ux2cq6.htmlhttps://www.cnblogs. 阅读全文
posted @ 2019-12-09 11:14 liuxm-刘小明 阅读(179) 评论(0) 推荐(0)
摘要: pom.xml <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apac 阅读全文
posted @ 2019-12-06 10:43 liuxm-刘小明 阅读(169) 评论(0) 推荐(0)
摘要: 1、检查工具是否安装,如果未安装则使用yum安装 #htpasswd 有以上输出表示已经安装,如果没有按装,使用如下命令安装: #yum -y install httpd-tools 2、htpasswd命令选项参数说明-c 创建一个加密文件-n 不更新加密文件,只将htpasswd命令加密后的用户 阅读全文
posted @ 2019-11-28 13:41 liuxm-刘小明 阅读(250) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 12 下一页