New posts for Spring and Hibernate
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
# Two methods can produce the same property
|
||||
|
||||
$ javac -d target/broken/ambiguous -cp $MAPSTRUCT_JAR -processorpath $MAPSTRUCT_PROCESSOR_JAR src/broken/ambiguous/*.java
|
||||
src/broken/ambiguous/BrokenMapper.java:13: error: Ambiguous mapping methods found for mapping property "rokenMapper.Money price" to String: String plain(rokenMapper.Money m), String formatted(rokenMapper.Money m). See https://mapstruct.org/faq/#ambiguous for more info.
|
||||
Dst map(Src src);
|
||||
^
|
||||
1 error
|
||||
Reference in New Issue
Block a user