Lombok: [BUG]

Created on 29 Feb 2020  路  6Comments  路  Source: projectlombok/lombok

Describe the bug
A clear and concise description of what the bug is.
description :
service could not recieve web params ,but both params are same!!!!

To Reproduce

web tools: postman

curl --location --request GET 'http://localhost:8080/test' \
--header 'Content-Type: application/json' \
--data-raw '{
  "bUerId":123,
  "cUserId":123
}'

service

import lombok.Data;

@Data
public class ServiceParam{
    private Long bUserId ;
    private Long cUserId;
}

Expected behavior
A clear and concise description of what you expected to happen.

Version info (please complete the following information):

Additional context

parked

Most helpful comment

A typo? bUerId instead of bUserId?
Or this? https://stackoverflow.com/questions/51464720/lombok-1-18-0-and-jackson-2-9-6-not-working-together/51465038#51465038

No idea. Most likely not a bug in lombok. Seems to be more appropriate for StackOverflow.

All 6 comments

A typo? bUerId instead of bUserId?
Or this? https://stackoverflow.com/questions/51464720/lombok-1-18-0-and-jackson-2-9-6-not-working-together/51465038#51465038

No idea. Most likely not a bug in lombok. Seems to be more appropriate for StackOverflow.

try it !!!
"bUserId":123,
"cUserId":123

You can try it. I am sure that you must be recurred it!

No, we cannot. Please upload a minimal example project to GitHub that demonstrates this issue.

Did you configure prefixes using lombok.accessors.prefix in your lombok.config?

@daotianxiyang Maybe a language barrier is making it difficult, but, we need a fully reproducible test case and some explanation about what is wrong.

As written I have no real idea what the problem is, or how to produce it.

close if no further feedback by 2020-03-20.

Was this page helpful?
0 / 5 - 0 ratings