
springBoot
小贺学习笔记
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
运行spring boot jar 文件
1原创 2022-04-13 10:42:10 · 794 阅读 · 0 评论 -
多数据源
<dependency> <groupId>org.apache.geronimo.specs</groupId> <artifactId>geronimo-jms_1.1_spec</artifactId> <version>...原创 2020-02-29 15:49:09 · 291 阅读 · 0 评论 -
springBoot mybatis 包扫描
@MapperScan(basePackages = {"com.zscat.*.dao","com.zscat.*.*.dao"})@EnableTransactionManagement(proxyTargetClass = true)@SpringBootApplication@MapperScan(basePackages = {"com.zscat.*.dao","com...原创 2018-05-18 11:31:03 · 4150 阅读 · 0 评论 -
springboot thymeleaf 配置
Springboot默认是不支持JSP的,默认使用thymeleaf模板引擎1.在application.properties文件中增加Thymeleaf模板的配置。#thymelea模板配置spring.thymeleaf.prefix=classpath:/templates/spring.thymeleaf.suffix=.htmlspring.thymeleaf.mo...原创 2018-05-15 11:32:34 · 728 阅读 · 0 评论 -
SpringBoot 定时任务
在启动类上面添加@EnableScheduling 2、 添加一下两个个文件链接:https://pan.baidu.com/s/1xsP2keT2SzJQjdgcwwKvRA 密码:n0ssScheduleJobs.javapackage com.fangxuele.ocs.service.coms.schedule;import org.slf4j.L...原创 2018-05-15 14:27:14 · 255 阅读 · 0 评论 -
springBoot dubbo junit 单元测试
依赖<dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version> 4.12</version> </dependency><dependency> <...原创 2018-09-21 10:35:53 · 11273 阅读 · 0 评论