出现单实例模式毁坏

来源:互联网 发布:网络计费管理系统 编辑:程序博客网 时间:2024/05/08 20:24

服务器报错:“org.springframework.beans.factory.support.DefaultSingletonBeanRegistry  destroySingletons”

经查资料发现,是我的conf.xml配置文件引用的文件没发布到服务器上导致的。

 

参考资料 :

出现单实例模式毁坏

org.springframework.beans.factory.support.DefaultSingletonBeanRegistry  destroySingletons
信息: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@13d740f:  defining beans 

出现这种情况有两个:

一种是因为在applicationcontext.xml中没有对应定义好dao和service的对应关系。

第二种是因为applicationcontext.xml中定义的*.hbm.xml和对应的bean实例类(groupue.java)字段没有对应好,字段属性或者数值写错了。

2 0
原创粉丝点击