【发布时间】:2015-12-31 13:39:19
【问题描述】:
我正在 Eclipse Mars、JDK 1.7 和 Tomcat 6 中部署一个 mavenize Web 项目
这是例外
06/01/2016 11:30:06,962 ERROR org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:177) Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ajaxFacade' defined in class path resource [applicationContext-ajax.xml]: Can't resolve reference to bean 'posanetService' while setting property 'posanetService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.tunisiana.posanet.service.impl.DefaultPosanetService#19ca9bb' defined in class path resource [applicationContext-service.xml]: Can't resolve reference to bean 'invoiceService' while setting property 'invoiceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.RegexpMethodPointcutAdvisor#46f6ad' defined in class path resource [applicationContext-service.xml]: Can't resolve reference to bean 'generatePaymentReferenceAdvice' while setting property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'threadlocalTargetSource' defined in class path resource [applicationContext-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'targetClass' of bean class [org.springframework.aop.target.ThreadLocalTargetSource]: Bean property 'targetClass' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.tunisiana.posanet.service.impl.DefaultPosanetService#19ca9bb' defined in class path resource [applicationContext-service.xml]: Can't resolve reference to bean 'invoiceService' while setting property 'invoiceService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.RegexpMethodPointcutAdvisor#46f6ad' defined in class path resource [applicationContext-service.xml]: Can't resolve reference to bean 'generatePaymentReferenceAdvice' while setting property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'threadlocalTargetSource' defined in class path resource [applicationContext-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'targetClass' of bean class [org.springframework.aop.target.ThreadLocalTargetSource]: Bean property 'targetClass' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.aop.support.RegexpMethodPointcutAdvisor#46f6ad' defined in class path resource [applicationContext-service.xml]: Can't resolve reference to bean 'generatePaymentReferenceAdvice' while setting property 'advice'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'threadlocalTargetSource' defined in class path resource [applicationContext-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'targetClass' of bean class [org.springframework.aop.target.ThreadLocalTargetSource]: Bean property 'targetClass' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'threadlocalTargetSource' defined in class path resource [applicationContext-common.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'targetClass' of bean class [org.springframework.aop.target.ThreadLocalTargetSource]: Bean property 'targetClass' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
org.springframework.beans.NotWritablePropertyException: Invalid property 'targetClass' of bean class [org.springframework.aop.target.ThreadLocalTargetSource]: Bean property 'targetClass' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
【问题讨论】:
标签: java eclipse spring maven tomcat