2014年12月12日
摘要: @Resource的作用相当于@Autowired,只不过@Autowired按byType自动注入,而@Resource默认按byName自动注入罢了。@Resource有两个属性是比较重要的,分是name和type,Spring将@Resource注解的name属性解析为bean的名字,而typ... 阅读全文
posted @ 2014-12-12 15:36 zhaofeng555 阅读(293) 评论(0) 推荐(0) 编辑
  2014年12月5日
摘要: 大约一个月前,a56爆大奖在线娱乐发表了一篇博客,其中介绍了对Eclipse的爱与恨。 有些人问a56爆大奖在线娱乐如何给Eclipse提速,这篇文章就来讨论这个问题。顺带提一下,这篇文章不是比较IDE,a56爆大奖在线娱乐不要说你讨厌某个IDE而选择另外一个。这篇文章只是关注如何让Eclipse运行得更快。a56爆大奖在线娱乐技巧都针对Windows、Linux和... 阅读全文
posted @ 2014-12-05 13:58 zhaofeng555 阅读(186) 评论(0) 推荐(0) 编辑
  2014年11月22日
摘要: 环境:Windowsmysql-noinstall-5.0.37-win32.zip一、下载MySQLhttp://www.mysql.com/downloads二、安装过程1、解压缩mysql-noinstall-5.0.37-win32.zip到一个目录,加入解压缩到E:\myserver目录。... 阅读全文
posted @ 2014-11-22 10:39 zhaofeng555 阅读(237) 评论(0) 推荐(0) 编辑
  2014年10月29日
摘要: 解决方案有如下两种:方案1. 在项目名称处点击鼠标右键-->属性,打开项目属性对话框,找到 MyEclipse-->Project Facets,将此处的 java 版本设置为与项目编译级别相同。方案2. 在“工程/.settings/”目录下找到名为 org.eclipse.wst.common.... 阅读全文
posted @ 2014-10-29 12:08 zhaofeng555 阅读(117) 评论(0) 推荐(0) 编辑
  2014年9月17日
摘要: 1、加jar包:Quartz自己quartz-1.8.3.jar和依赖包commons-logging.jar 、slf4j-log4j12-1.5.10.jar 、slf4j-api-1.5.10.jar2、一个类搞定!!!,直接runimport org.quartz.CronTrigger;i... 阅读全文
posted @ 2014-09-17 18:30 zhaofeng555 阅读(184) 评论(0) 推荐(0) 编辑
  2014年8月30日
摘要: 开发机:win7 旗舰版 - 64位1,安装ruby,下载rubyinstaller-2.0.0-p451.exe下载地址:http://rubyinstaller.org/downloads/1.1选择安装目录:(如:D:\Ruby200)1.2 安装过程中: 需要勾选所有选项(安装插件、执行执行... 阅读全文
posted @ 2014-08-30 11:34 zhaofeng555 阅读(253) 评论(0) 推荐(0) 编辑
  2014年8月20日
摘要: 加入traditional:true属性traditional类型:Boolean如果你想要用传统的方式来序列化数据,那么就设置为 true。请参考工具分类下面的 jQuery.param 方法。$.ajax({ type: "POST", url: url, traditional:t... 阅读全文
posted @ 2014-08-20 14:57 zhaofeng555 阅读(145) 评论(0) 推荐(0) 编辑
  2014年6月20日
摘要: var p =params.join("&");var a = document.createElement('a');a.href = 'report/exportpubcount.do'+p;a.target = '_blank';a.id='exppub';document.body.appe... 阅读全文
posted @ 2014-06-20 16:10 zhaofeng555 阅读(6236) 评论(0) 推荐(0) 编辑
  2014年6月12日
摘要: nested exception is java.lang.IncompatibleClassChangeError: class org.springframework.core.type.classreading.ClassMetadataReadingVisitor has interface... 阅读全文
posted @ 2014-06-12 20:36 zhaofeng555 阅读(280) 评论(0) 推荐(0) 编辑
摘要: 在src文件夹上移除Source Folder,再点右键-Build Path-Use as Source Folder,重新进行编译,一切正常了。 阅读全文
posted @ 2014-06-12 14:52 zhaofeng555 阅读(309) 评论(0) 推荐(0) 编辑