Skip to content

Warning logs for JodaTime converters when using spring-boot-gcp-starter [DATACMNS-1594] #2023

@spring-projects-issues

Description

@spring-projects-issues

Bjorn Harvold opened DATACMNS-1594 and commented

The dependency spring-boot-gcp-starter brings with it Joda Time module causing Spring Data MongoDb to emit converter warnings

Created simple starter project to replicate. See attached.

2019-10-21 09:38:29.280 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class java.time.Instant as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation. 2019-10-21 09:38:29.281 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.Instant to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation. 2019-10-21 09:38:29.299 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class java.time.Instant as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation. 2019-10-21 09:38:29.300 WARN 2206 --- [ main] o.s.data.convert.CustomConversions : Registering converter from class java.time.Instant to class java.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might wanna check you annotation setup at the converter implementation. 

Affects: 2.2 GA (Moore)

Attachments:

Metadata

Metadata

Assignees

Labels

in: coreIssues in core supportstatus: declinedA suggestion or change that we don't feel we should currently applytype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions