日期:2014-05-18  浏览次数:20683 次

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   'personRegisterDAO '   defined   in   ServletContext   resource   [/WEB-INF/config/Common_Member_Spring.xml]:   Error   setting   property   values;   nested   exception   is   org.springframework.beans.NotWritablePropertyException:   Invalid   property   'queryPersonUserSql '   of   bean   class   [com.pkgame.common.member.dao.impl.PersonRegisterDAO]:   Bean   property   'queryPersonUserSql '   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   'queryPersonUserSql '   of   bean   class   [com.pkgame.common.member.dao.impl.PersonRegisterDAO]:   Bean   property   'queryPersonUserSql '   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.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:670)
at   org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:572)
at   org.springframework.beans.BeanWrapperImpl.setPropertyValue(BeanWrapperImpl.java:737)
at   org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:764)
at   org.springframework.beans.BeanWrapperImpl.setPropertyValues(BeanWrapperImpl.java:753)
at   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1057)
at   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:857)
at   org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:378)
at   org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:233)
at   org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:145)
at   org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:283)
at   org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:313)
at   org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:139)
at   org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)
at   org.springframework.web.context.ContextLoader.initWe