Spring3+Struts2+Hibernate4+Mybatis整合报错,求大神解救!!!
[org.springframework.web.context.ContextLoader]Context initialization failed
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in class path resource [applicationContext-persistence.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sqlSessionFactoryBeanName' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]: Bean property 'sqlSessionFactoryBeanName' 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:1396)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in class path resource [applicationContext-persistence.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'sqlSessionFactoryBeanName' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]: Bean property 'sqlSessionFactoryBeanName' 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:1396)
...全文
相关推荐
maven+spring3+struts2+hibernate4+mybatis3整合
struts2+spring3+hibernate4+mybatis3整合
struts2+spring4+springMVC+hibernate4+mybatis的三大框架(三套)
史上最全最基础的java框架(s2sh,ssm,springspringmvcm三套),spring+springMVC+mybatis可直接切换oracle、mysql、sqlserver数据库。另外框架同上配置即可。
spring+hibernate+struts2 +mybatis整合笔记
SSH开发笔记,特别适合入门者学习
SSH框架整合spring4+hibernate4+struts2
里面附带集合ssh所有的jar包,在ssh\WebRoot\WEB-INF\lib里面,应该都是最新出来的jar包,这个是集合了spring4+hibernate4+struts2框架的项目包
spring、struts、hibernate+mybatis 整合在在一起
spring、struts、hibernate+mybatis 整合在在一起


