主题 : 报错了
级别: 进士
UID: 85151
积分:1654 加为好友
威望: 92 精华: 0
主题:215 回复:726
注册时间:2016-01-26
在线时长:0
1#   发表于:2017-08-10 10:50:01  IP:27.220.*.*
Error creating bean with name 'shiroFilter' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'securityManager' while setting bean property 'securityManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityManager' defined in ServletContext resource [/WEB-INF/config/shiro-context.xml]: Cannot resolve reference to bean 'authorizingRealm' while setting bean property 'realm'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizingRealm': Unsatisfied dependency expressed through method 'setUnifiedUserMng' parameter 0: Error creating bean with name 'unifiedUserMng': Unsatisfied dependency expressed through method 'setDao' parameter 0: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'unifiedUserMng': Unsatisfied dependency expressed through method 'setDao' parameter 0: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'unifiedUserDao': Unsatisfied dependency expressed through method 'setSessionFactory' parameter 0: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in ServletContext resource [/WEB-INF/config/application-context.xml]: Invocation of init method failed; nested exception is org.hibernate.InvalidMappingException: Could not parse mapping document from input stream
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:359)
命里有时终须有,命里无时莫强求!
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
2#   发表于:2017-08-10 10:51:14  IP:220.66.*.*
什么情况下出现的错误
功成由勤,业精于勤。
级别: 进士
UID: 85151
积分:1654 加为好友
威望: 92 精华: 0
主题:215 回复:726
注册时间:2016-01-26
在线时长:0
3#   发表于:2017-08-10 10:57:05  IP:27.220.*.*
回复第2楼   加了个hbm类的
命里有时终须有,命里无时莫强求!
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
4#   发表于:2017-08-10 10:57:59  IP:220.66.*.*
那就是你自己二次开发加的类有问题了,你把新加的类去掉在看下
路漫漫其修远兮,吾将上下而求索!
级别: 进士
UID: 85151
积分:1654 加为好友
威望: 92 精华: 0
主题:215 回复:726
注册时间:2016-01-26
在线时长:0
5#   发表于:2017-08-10 11:05:45  IP:27.220.*.*
回复第4楼   我们提交表单的时候插入数据库,那那个连接的源文件放哪里?
命里有时终须有,命里无时莫强求!
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
6#   发表于:2017-08-10 11:06:27  IP:220.66.*.*
链接数据库的文件?
路漫漫其修远兮,吾将上下而求索!
级别: 进士
UID: 85151
积分:1654 加为好友
威望: 92 精华: 0
主题:215 回复:726
注册时间:2016-01-26
在线时长:0
7#   发表于:2017-08-10 11:07:31  IP:27.220.*.*
回复第6楼恩,就是插入对应表的
命里有时终须有,命里无时莫强求!
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
8#   发表于:2017-08-10 11:13:09  IP:220.66.*.*
你是要插入对应表的*类文件吗
路漫漫其修远兮,吾将上下而求索!
级别: 总版主
UID: 10736
积分:149787 加为好友
威望: 212 精华: 42
主题:297 回复:127674
注册时间:2010-09-08
在线时长:90.1
9#   发表于:2017-08-10 11:14:34  IP:220.66.*.*
路漫漫其修远兮,吾将上下而求索!
级别: 进士
UID: 85151
积分:1654 加为好友
威望: 92 精华: 0
主题:215 回复:726
注册时间:2016-01-26
在线时长:0
10#   发表于:2017-08-10 11:14:36  IP:27.220.*.*
回复第8楼对的
命里有时终须有,命里无时莫强求!
1 2 > >| 共2页