码迷,mamicode.com
首页 > 其他好文 > 详细

Resource annotation is not supported on static fields

时间:2016-12-26 21:08:50      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:res   lib   lstat   factor   nap   get   except   eating   hot   

 

 

org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘paramUtil‘ defined in URL [jar:file:/Users/exmyth/web/target/xxx/WEB-INF/lib/octopus-xxx-1.0-SNAPSHOT.jar!/cn/xxx/utils/ParamUtil.class]: Post-processing failed of bean type [class cn.xxx.utils.ParamUtil] failed; nested exception is java.lang.IllegalStateException: @Resource annotation is not supported on static fields

Resource annotation is not supported on static fields

标签:res   lib   lstat   factor   nap   get   except   eating   hot   

原文地址:http://www.cnblogs.com/exmyth/p/6223780.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!