Код: Выделить всё
@Configuration
@EnableWebMvc
@Slf4j
public class WebConfigParent implements WebMvcConfigurer {
private final ObjectMapper objectMapper;
public WebConfigParent(ObjectMapper objectMapper) {
this.objectMapper = objectMapper;
}
@Override
public void configureMessageConverters(List
Подробнее здесь: [url]https://stackoverflow.com/questions/79350543/bean-with-same-name-error-when-extending-a-bean-defining-configuration-class[/url]
Мобильная версия