对象属性跟配置文件不匹配吧:
Cause: com.ibatis.common.beans.ProbeException: There is no WRITEABLE property named 'cus_address' in class 'com.xxx.app.good.good.model.Shop'
找不到 cus_address 可写属性,看是不是没有定义Set方法?
哦,不好意思,我找不到 ibatis 版块,报下面的错误,
2014-6-3 10:24:13 org.apache.catalina.core.StandardContext listenerStart
严重: 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 'SysPowerAction' defined in file [E:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\demo1\WEB-INF\classes\conf\spring\applicationContext-admin-action.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sysPowerService' defined in file [E:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\demo1\WEB-INF\classes\conf\spring\applicationContext-admin-service.xml]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'publicDAO' defined in file [E:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\demo1\WEB-INF\classes\conf\spring\applicationContext-datasource.xml]: Cannot resolve reference to bean 'sqlMapClient' while setting bean property 'sqlMapClient'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sqlMapClient' defined in file [E:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\demo1\WEB-INF\classes\conf\spring\applicationContext-datasource.xml]: Invocation of init method failed; nested exception is java.lang.RuntimeException: Error occurred. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'. Cause: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause: java.lang.RuntimeException: Error parsing XPath '/sqlMap/resultMap/result'. Cause: com.ibatis.common.beans.ProbeException: There is no WRITEABLE property named 'cus_address' in class 'com.xxx.app.good.good.model.Shop'