spring
笔尖的痕
spark、hadoop,数据仓库,实时计算
展开
-
Struts 三级联动
create database linkage; use linkage; --省份 create table province ( pid int primary key, pname varchar(20) ); insert into province(pid,pname) values(1,'吉林省'); insert into province(pid,pname转载 2015-01-22 18:14:59 · 724 阅读 · 0 评论 -
The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the assoc
异常信息:The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the associated filter. Struts tags are only usable when the request has passed through its servlet filt转载 2015-01-22 18:03:10 · 850 阅读 · 0 评论 -
spring-hibernate 简单dao
private HibernateTemplate hibernateTemplate = null; private SessionFactory sessionFactory = null; @Autowired public void setSessionFactory(SessionFactory sessionFactory) { this.sessionFactory =原创 2015-07-30 13:27:34 · 497 阅读 · 0 评论 -
升级shiro对quartz 2的支持
缘由:在使用shiro时,如果Quartz 为Quartz 2的版本,则抛出异常java.lang.InstantiationError: org.quartz.SimpleTrigger。原因是默认的shiro-quartz1.2.3中的实现是针对quartz1.6版本的实现(详细源码请查看org.apache.shiro.session.mgt.quartz.QuartzSessionVali转载 2015-11-30 17:54:22 · 4360 阅读 · 2 评论 -
ClassCastException Log4jLoggerFactory LoggerContex
http://my.oschina.net/u/249914/blog/192987 xception sending context initialized event to listener instance of class ch.qos.logback.ext.spring.web.LogbackConfigListener java.lang.ClassCastExcepti转载 2016-05-25 11:46:00 · 1798 阅读 · 0 评论