spring启动失败:org.springframework.beans.factory.access.BootstrapException: Unable to initialize group d

本文记录了在MyEclipse中导入SVN检查出的项目后遇到的Spring启动失败问题及解决过程。主要错误包括无法实例化Bean、未解析的编译问题等,最终通过重新导入所有依赖包解决了问题。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

从SVN上Checkout下来工程之后,导入Myeclipse不仅某些文件出现莫名错误,且启动报错。

根据看错误信息怀疑是配置问题或者缺包。

但是捏~包他多找不到哪一个,于是从checkout下来的备份里把所有包从新导入一遍,于是问题解决....

spring启动失败
org.springframework.beans.factory.access.BootstrapException: Unable to initialize group definition. Group resource name [classpath*:beanRefFactory.xml], factory key [default]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default' defined in URL [file:/D:/MyEclipse6.5/workSpace/zk_qc_system/webapp/WEB-INF/classes/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecord' defined in class path resource [applicationContext-qc.xml]: Can't resolve reference to bean 'HibernateRecordTargetIntercepted' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecordTarget' defined in class path resource [applicationContext-qc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.hollycrm.qcweb.plan.hibernate.HibernateRecordImpl]; constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
	The import org.apache.axis cannot be resolved
	Service cannot be resolved to a type
	Call cannot be resolved to a type

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'default' defined in URL [file:/D:/MyEclipse6.5/workSpace/zk_qc_system/webapp/WEB-INF/classes/beanRefFactory.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecord' defined in class path resource [applicationContext-qc.xml]: Can't resolve reference to bean 'HibernateRecordTargetIntercepted' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecordTarget' defined in class path resource [applicationContext-qc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.hollycrm.qcweb.plan.hibernate.HibernateRecordImpl]; constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
……
org.springframework.beans.FatalBeanException: Could not instantiate class [org.springframework.context.support.ClassPathXmlApplicationContext]; constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecord' defined in class path resource [applicationContext-qc.xml]: Can't resolve reference to bean 'HibernateRecordTargetIntercepted' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecordTarget' defined in class path resource [applicationContext-qc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.hollycrm.qcweb.plan.hibernate.HibernateRecordImpl]; constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
……
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecord' defined in class path resource [applicationContext-qc.xml]: Can't resolve reference to bean 'HibernateRecordTargetIntercepted' while setting property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecordTarget' defined in class path resource [applicationContext-qc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.hollycrm.qcweb.plan.hibernate.HibernateRecordImpl]; constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
……
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'HibernateRecordTarget' defined in class path resource [applicationContext-qc.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.FatalBeanException: Could not instantiate class [com.hollycrm.qcweb.plan.hibernate.HibernateRecordImpl]; constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
……
org.springframework.beans.FatalBeanException: Could not instantiate class [com.hollycrm.qcweb.plan.hibernate.HibernateRecordImpl]; constructor threw exception; nested exception is java.lang.Error: Unresolved compilation problems: 
……
java.lang.Error: Unresolved compilation problems: 
……
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值