文章
SpringBoot定时任务xml配置
由于定时任务需要工程实施人员进行配置,写在Java代码里面不利于维护,故采用SpringBoot集成SpringXML文件进行配置,属于新瓶装旧酒。1新建定时任务类packagecom.duhongming.springbootscheduled.scheduled;importlomb
SpringBoot学习:整合shiro自动登录功能(rememberMe记住我功能)
首先在shiro配置类中注入rememberMe管理器!复制代码(https://oscimg.oschina.net/oscnet/675f5689159acfa2c39c91f4df40a00ce0f.gif)/cookie对象;rememberMeCookie()方法是设置Cookie的生成模
SpringBoot学习遇到的问题(持续更新)
1.问题:\Cause:com.microsoft.sqlserver.jdbc.SQLServerException:必须声明表变量"@P0"。_;uncategorizedSQLException;SQLstate\S0001\;errorcode\1087\;必须声明表变量"@P0"。;nested
SpringBoot学习路线
网上也有很多github资源,都是自己学习SpringBoot时候,自己练的代码虽然现在最新的版本用2.1.3.RELEASE版本,以前版本的demo运行可能会遇到错误。但是有总比没有要好,不是么?<parent<groupIdorg.springframework.boot</groupId
SpringBoot学习笔记:计划任务
SpringBoot学习笔记:计划任务计划任务在企业的实践生产中,可能需要使用一些定时任务,如月末、季末和年末需要统计各种各样的报表,每周自动备份数据等。在Spring中使用定时任务1、加入@EnableScheduling注解,以启用定时任务机制@EnableS
SpringBoot学习笔记(十六:Shiro )
原文作者:纯洁的微笑 原文链接:http://www.ityouknow.com/springboot/2017/06/26/springbootshiro.html文章目录一、ApacheShiro(https://www.oschina.net/action/GoToLink?urlhttps%3A%
SpringBoot学习笔记6_整合Redis
三十四 SpringBoot整合Redis(结合SpringBoot整合Mybatis(https://www.oschina.net/action/GoToLink?urlhttps%3A%2F%2Fwww.cnblogs.com%2Fwuba%2Fp%2F11232002.html))
SpringBoot学习笔记
1. 读取application.properties配置文件 application.properties内容:book.namespringbootbook.number${random.value}读取代码@RestController
SpringBoot学习之路:12.Spring Boot使用idea开发如何配置热加载
java开发的ide用最多的无非就是eclipse和idea,在eclipse中开发springboot,要使项目热加载资源只需要在pom文件中引入springboot的开发工devtools即可。但是该工具在使用idea开发springboot时单纯的引入并不起作用,还需要一些代码支持和idea设置才能生效。下面我们就在idea中使用m
SpringBoot学习之路:10.Spring Boot中添加Listener应用
前面都说到了springboot中应用servlet和filter,本文继续说springboot应用监听器Listener,大体上是和之前差不多的应用。一.HttpSessionListenerpackagecom.maxbill.core.webbox.listener;/\\
已加载文章中没有匹配内容,试试其他关键词或清空搜索。