求大神帮我看下spring的问题

严重: Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'service' defined in class path resource [beans.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'service' of bean class [com.bjlz.action.LCsiveAction]: Bean property 'service' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1361)
省略号,
Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'service' of bean class [com.bjlz.action.LCsiveAction]: Bean property 'service' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
配置文件,
![![图片说明](https://img-ask.csdn.net/upload/201505/25/1432523221_850763.png)图片说明](https://img-ask.csdn.net/upload/201505/25/1432523215_711138.png)图片说明

谢谢各位了 。。我找到了是少个了JAR包 导致的。。。

图片说明

图片说明
图片说明

com.bjlz.action.LCsiveAction中需要增加setService方法

把service方法改成setLzComprehensiveDao试下?或者你用的是那个版本的spring。直接在service的定义上面加上annotation。@Resource(name = "comprehdao")

楼主看下http://www.ibm.com/developerworks/cn/opensource/os-cn-spring-iocannt/。2.5以上支持annotaiton的方式。如果是更老的spring的话,改下方法的名字。

看下applicationcontent.xml的配置是否正确