Error creating bean with name 'org.mybatis.spring.mapper.MapperScannerConfigurer#0' defined in class path resource [spring/spring-dao.xml]: Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException:?Invalid property 'besePackage' of bean class [org.mybatis.spring.mapper.MapperScannerConfigurer]:?Bean property 'besePackage' is not writable or has an invalid setter method. Did you mean 'basePackage'?老是說 bean class [org.mybatis.spring.mapper.MapperScannerConfigurer] 中的 basePackage 屬性 無效,我檢查了好幾遍了,拼寫什么的都沒什么問題呀,運行單元測試老是報這個錯誤,都快崩潰了,求解。
添加回答
舉報
0/150
提交
取消