摘要:
ApacheCommons是一个非常有用的工具包,解决各种实际的通用问题,下面是一个简述表,详细信息访问http://jakarta.apache.org/commons/index.htmlBeanUtilsCommons-BeanUtils提供对Java反射和自省API的包装BetwixtBet... 阅读全文
摘要:
/* 一般情况下接口感觉没什么用。增删改查我们有一个实现类就可以搞定。处理的东西在多了可以分多个包。 * 类似于com.user.*;com.group.*;com.role.*; * * 所以普通做法是这样的: */ public class SportsCar { public voi... 阅读全文
摘要:
今天在使用spring驱动Hibernate时发生了一件事情,发现hibernatetemplate在被注入后,无法使用。什么save()、find()、get()等都不行。也看了网上好多解决办法,但问题并不出在这个true或者这个getHibernateTemplate().flush()【个人感... 阅读全文
摘要:
[Line 1 in XML document from class path resource [xxx.properties] is invalid; nested exception is org.xml.sax.SAXParseException; lineNumber: 1; column... 阅读全文
摘要:
1.退出eclipse;2.打开 [工程目录下]/.metadata/.plugins/org.eclipse.core.runtime目录;3.删除org.eclipse.wst.server.core.prefs和 org.eclipse.jst.server.tomcat.core.prefs这两个文件 ;4.重启eclipse 。 阅读全文