Answer the question
In order to leave comments, you need to log in
Why doesn't Spring boot see the annotations?
Why doesn't Spring boot see the annotations?
How can the problem be solved?
(Annotations glow red)
code:
import org.modelmapper.ModelMapper;
import org.springframework.context.annotation.*;
@Configuration
public class MapperUtil {
@Bean
public ModelMapper getMapper() {
return new ModelMapper();
}
}
Answer the question
In order to leave comments, you need to log in
There's a "Maven" tab on the right side of the idea. And there is such an icon with two arrows like an ouroboros: "Reload All Maven Projects".
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question