spring-projects / spring-projects/spring-data-mongodb

CustomConversions Warning on org.springframework.boot V.2.6.3

Open
#3,969 2 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: regression
Dominant language
Java
Stars
1.7k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hello friend. I'm trying to use spring boot version 2.6.3, spring-boot-starter-data-mongodb-reactive 2.6.3, spring data mongodb 3.3.1

I got warning as following:

2022-02-18 08:37:56.553 WARN 30620 --- [ restartedMain] o.s.data.convert.CustomConversions : Registering converter from class java.time.LocalDateTime to class org.joda.time.LocalDateTime as reading converter although it doesn't convert from a store-supported type! You might want to check your annotation setup at the converter implementation.

Any fix, I really appreciate.

Best Regards.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source files, tests, or entry points are identified in the report. Start by reproducing the warning with Spring Boot 2.6.3, spring-boot-starter-data-mongodb-reactive 2.6.3, and Spring Data MongoDB 3.3.1, then trace the CustomConversions registration; done means the cause is identified and the warning behavior is covered by a focused test.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, mongodb, spring
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.