maven-与人品无关
1.新的的报错
org.springframework.beans.factory.BeanCreationException:
org.springframework.beans.factory.NoSuchBeanDefinitionException:
需要一个life-cycle-mapping.xml,去目录下看了,并不存在,helios版本的eclipse好像有这个文件,里面具体的意思没看
难道只能跑一个maven project?报的错都比较类似,有些许的不一样,那个是can not open connection
所以说问题不在电脑,msi先跑的新的,旧的死都不能用,内外网的报错一致
旧电脑先跑的旧的,新的也死都不能用,内外网报错一致
先跑新的旧的就不用,先跑旧的新的就不能用。换IDE什么的都不解决问题,也不是重新导入的问题,不是没有依赖,与jdk无关,更与电脑无关,所以究竟为什么,也没有什么特殊的操作,究竟为什么?
ERROR [localhost-startStop-1] org.springframework.web.context.ContextLoader - Context initialization failed
Error creating bean with name 'omAttrInfoTblService'
Injection of autowired dependencies failed;
nested exception is org.springframework.beans.factory.BeanCreationException:
Could not autowire field:private com.ffcs.oss.ods.networkservice.service.IOmAttrClassTblService com.ffcs.oss.ods.networkservice.service.Impl.OmAttrInfoTblServiceImpl.omAttrClassTblService;
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [com.ffcs.oss.ods.networkservice.service.IOmAttrClassTblService] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
BeanCreationException
NoSuchBeanDefinitionException
第二次又换了一个bean装配不了
第一次:Error creating bean with name 'omAttrInfoTblService'
第二次:Error creating bean with name 'wireoa'
然后把编译的target全删了,这下好了,跟之前的错一模一样了,failed to start了
java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component
org.apache.catalina.LifecycleException: Failed to start component
java.lang.ClassNotFoundException
java.util.concurrent.ExecutionException
待续。。。