pagehelper-spring-boot icon indicating copy to clipboard operation
pagehelper-spring-boot copied to clipboard

spring boot 1.5.1.RELEASE集成pagehelper-spring-boot-starter 1.2.3启动报错

Open tsaimn opened this issue 8 years ago • 3 comments

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.github.pagehelper.autoconfigure.PageHelperAutoConfiguration': Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageHelperProperties': Could not bind properties to Properties (prefix=pagehelper, ignoreInvalidFields=false, ignoreUnknownFields=true, ignoreNestedProperties=false); nested exception is java.lang.IllegalStateException: Invalid target for Validator [org.springframework.boot.context.properties.ConfigurationPropertiesBindingPostProcessor$ValidatedLocalValidatorFactoryBean@7bbcf6f0]: org.springframework.boot.bind.RelaxedDataBinder$MapHolder@2b80e5a9

切换至spring boot 1.5.1.RELEASE可以正常启动

tsaimn avatar Mar 02 '18 07:03 tsaimn

切换至spring boot 1.5.1.RELEASE可以正常启动 ? 哪个版本不能用?

abel533 avatar Mar 08 '18 13:03 abel533

切换至spring boot 1.5.9.RELEASE可以正常启动

tsaimn avatar Mar 09 '18 05:03 tsaimn

特地换了几个版本试了试,只有 1.5.0 和 1.5.1 版本有问题,建议别用这俩版本,其他都没问题。

abel533 avatar Mar 12 '18 13:03 abel533