从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:
……