![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
java
zhi_heart
这个作者很懒,什么都没留下…
展开
-
According to TLD or attribute directive in tag file, attribute value does not accept any expressions
According to TLD or attribute directive in tag file, attribute value does not accept any expressions自定义标签,默认不支持动态传入,在自定义标签加入rtexprvalue即可<attribute> <name>powerPath</name> <required>true</requi原创 2015-07-29 09:14:51 · 365 阅读 · 0 评论 -
Spring 实现线程接口 Runnable 注解注入失败 @Resource annotation is not supported on static fields
原因就是spring和多线程安全的问题,不让注入 解决方案有以下几种一.变量前缀加static,生成set方法并加上@Resource,记住把set方法 static 去掉,否则会抛出 @Resource annotation is not supported on static fieldsprivate static VerificDao verificDao;@Resourcepubli原创 2015-10-09 09:51:49 · 13351 阅读 · 2 评论 -
log4j配置详解,附带hibernate
# For JBoss: Avoid to setup Log4J outside $JBOSS_HOME/server/default/deploy/log4j.xml!# For all other servers: Comment out the Log4J listener in web.xml to activate Log4J.#日志输出级别为info,根日志器输出目的地...原创 2014-06-30 02:26:50 · 90 阅读 · 0 评论