您的位置:首页 > 编程语言 > Java开发

Bean 'shiroFilter'; nested exception is java.lang.IllegalArgumentException: Bean name must not be em

2016-05-26 17:38 671 查看
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener

org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsing

Offending resource: file [F:\java_workspace\craft4j\target\classes\config\craft4j-shiro-context.xml]

Bean 'shiroFilter'; nested exception is java.lang.IllegalArgumentException: Bean name must not be empty

Caused by: java.lang.IllegalArgumentException: Bean name must not be empty

at org.springframework.util.Assert.hasText(Assert.java:161)

碰到这种情况,很有可能是jar包冲突,检查maven依赖的jar有没有重名的,或者版本Spring版本不一样的,把低版本去掉。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: