![](https://img-blog.csdnimg.cn/20201014180756922.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
spring
lzx8023
这个作者很懒,什么都没留下…
展开
-
springMVC 配置定时执行任务
0 0/1 * * * ? moveToTable [b][color=red]PS:根据配置的不同标签的beans:可去...原创 2014-12-23 11:33:31 · 156 阅读 · 0 评论 -
maven+springMVC+mybatis+junit详细搭建过程
[color=red][size=xx-large]springMVC+mybatis框架搭建[/size][/color] 首先我们先要弄清搭建项目的一般流程,需要注意哪些方面,想要什么样的效果,自己的功能有哪些? (假设效果:项目目录结构清晰,能够查询到本地数据库中的内容。。) [size=x-large][color=red]1. 工程目录结构整理清楚[/color][/size...原创 2015-02-28 16:16:59 · 88 阅读 · 0 评论 -
Thread里面使用@resource失败,对象为null
spring 在Thread中注入@Resource失败,总为null~解决 背景: 就是我用@service或者@resposity声明了一个bean,给sping管理。现在我有个需求,就是用到Thread,但是这个线程需要用我的service或者dao,然后我习惯性的在继承了Thread类或者实现了Runnable的类里写了如下: @Resource private...原创 2015-07-02 15:10:02 · 586 阅读 · 0 评论