python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
SpringBoot Could not autowire. No beans of 'UserMapper' type found error for Mapstruct Mappers
This is my User class.
@Entity
@Table(name = "user_table")
@Data
public class User {
@Id
private Long id;
private String userName;
private String password;
}
This is my UserDto, I know th...
eagerdev
Votes: 0
Answers: 1
Mapstruct: Mapping a dto in a dto to an entity in an entity
Mapstruct is not using a mapper declared in the "uses" definition in the @Mapper Annotation
I expected the productCategory and productPrices to be mapped by the mappers: ProductPricesMapper....
Code Alpha
Votes: 0
Answers: 0
Why do we have to convert entity to dto?
I'm trying to understand Spring Boot and building Rest APIs.
I've seen some projects which is creates their own Converter class or which is using modelMapper. But I couldn't clearly get the main idea....
eagerdev
Votes: 0
Answers: 1