![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Spring boot
文章平均质量分 67
shasiqq
这个作者很懒,什么都没留下…
展开
-
Spring学习之boot(1)
Spring boot 可以提升开发效率简化spring.xml配置文件首先是一个helloworld 小例子:package web.app.test.boot;import java.util.concurrent.atomic.AtomicLong;import org.springframework.boot.SpringApplication;import org.sp原创 2016-04-25 17:37:04 · 622 阅读 · 0 评论 -
SpringBoot 结合 Quartz 简单Demo
首先,废话两句楼主是在开发中遇到具体需求,要用到定时器,那么大致说下两种定时器: 定时器 Quartz TimerTask 执行时间 可以通过cron表达式精确到特定时间执行 TimerTask不能 效率 每次执行任务都创建一个新的任务类对象 每次使用同一个任务类对象 对异常的处理 不会因为异常,而导致定时器关闭,不再执行循环任务。...原创 2018-05-23 16:08:23 · 3917 阅读 · 1 评论 -
No 'Access-Control-Allow-Origin' header is present on the requested resource. 跨域问题!
跨域问题项目背景车祸现场解决问题总结项目背景前端:VUE后端:Java JDK 1.8 Springboot 1.5.12 maven 3.3.9服务器环境:Linux nginx数据库:mysql车祸现场1、废话不说直接上干货仔细一点可以看出,No ‘Access-Control-Allow-Origin’ header is present on the requested...原创 2019-01-23 17:44:00 · 189776 阅读 · 6 评论