org.springframework.beans.NotWritablePropertyException: Invalid property 'mapperHelper'

淡淡的伤你 发布于 2016/09/18 14:19
阅读 1K+
收藏 0

compile 'org.springframework.boot:spring-boot-devtools:1.4.0.RELEASE'

gradle 整合通用mapper只要这个热部署的依赖就启动报错

Caused by: org.springframework.beans.NotWritablePropertyException: Invalid property 'mapperHelper' of bean class [org.mybatis.spring.mapper.MapperFactoryBean]: Bean property 'mapperHelper' 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.createNotWritablePropertyException(BeanWrapperImpl.java:243)
at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:423)
at org.springframework.beans.AbstractNestablePropertyAccessor.setPropertyValue(AbstractNestablePropertyAccessor.java:280)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:95)
at org.springframework.beans.AbstractPropertyAccessor.setPropertyValues(AbstractPropertyAccessor.java:75)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1514)
... 50 common frames omitted

加载中
0
Liuzh_533
Liuzh_533
不支持热部署,不支持devtool
返回顶部
顶部