为了账号安全,请及时绑定邮箱和手机立即绑定

之前是没有找到hibernate的包,重新下载后,出现了这个问题

org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'logging.level' to java.util.Map<java.lang.String, java.lang.String>

at org.springframework.boot.context.properties.bind.Binder.handleBindError(Binder.java:242) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:218) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:202) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:172) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.logging.LoggingApplicationListener.setLogLevels(LoggingApplicationListener.java:338) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.logging.LoggingApplicationListener.initializeFinalLoggingLevels(LoggingApplicationListener.java:314) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:265) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:226) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:203) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:172) ~[spring-context-5.1.15.RELEASE.jar:5.1.15.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:165) ~[spring-context-5.1.15.RELEASE.jar:5.1.15.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) ~[spring-context-5.1.15.RELEASE.jar:5.1.15.RELEASE]

at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:127) ~[spring-context-5.1.15.RELEASE.jar:5.1.15.RELEASE]

at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:76) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:53) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:342) [spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:305) [spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1215) [spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.SpringApplication.run(SpringApplication.java:1204) [spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at com.example.redpocket.RedpocketApplication.main(RedpocketApplication.java:10) [classes/:na]

Caused by: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [java.util.Map<java.lang.String, java.lang.String>]

at org.springframework.core.convert.support.GenericConversionService.handleConverterNotFound(GenericConversionService.java:321) ~[spring-core-5.1.15.RELEASE.jar:5.1.15.RELEASE]

at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:194) ~[spring-core-5.1.15.RELEASE.jar:5.1.15.RELEASE]

at org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.convert(BindConverter.java:170) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.BindConverter.convert(BindConverter.java:96) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.BindConverter.convert(BindConverter.java:88) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.MapBinder.bindAggregate(MapBinder.java:64) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$2(Binder.java:293) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:429) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder$Context.access$100(Binder.java:372) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:293) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:254) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:214) ~[spring-boot-2.1.14.RELEASE.jar:2.1.14.RELEASE]

... 18 common frames omitted


正在回答

1 回答

为什么要单独引入这个包,不是只需要data-jap的就行吗

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

之前是没有找到hibernate的包,重新下载后,出现了这个问题

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信