applicationContext.xml文件出错
具体出错信息:
2006-09-01 09:01:45,453 WARN ehcache.config.Configurator:126 2006-09-01 09:01:49,265 ERROR web.context.ContextLoader:205 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newscontentTarget' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'newscontentDAO' of bean class [com.caicai.lead21.service.spring.NewsContentServiceSpringImpl]: Bean property 'newscontentDAO' 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 'newscontentDAO' of bean class [com.caicai.lead21.service.spring.NewsContentServiceSpringImpl]: Bean property 'newscontentDAO' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
2006-09-01 09:01:49,265 ERROR [Catalina].[localhost].[/oil]:662 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newscontentTarget' defined in ServletContext resource [/WEB-INF/applicationContext.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'newscontentDAO' of bean class [com.caicai.lead21.service.spring.NewsContentServiceSpringImpl]: Bean property 'newscontentDAO' 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 'newscontentDAO' of bean class [com.caicai.lead21.service.spring.NewsContentServiceSpringImpl]: Bean property 'newscontentDAO' is not writable or has an invalid setter method: Does the parameter type of the setter match the return type of the getter?