当我尝试自动连接Spring RestTemplate时,我得到了以下错误:
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.web.client.RestTemplate] found for dependency: expectedat least 1 bean which qualifies as autowire ca
Description:
Field restTemplate in io.christdoes.wealth.tracker.captcha.CaptchaService required a single beanbeans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean有人指出,这是一个依赖问题,这既是spring的问题,也是仇恨的问题。我删除了网络,但问题仍然存在。<de
我对spring很陌生,我正在尝试使用spring的。这里是控制器:import javax.servlet.http.HttpServletRequest;
importof type [com.H.spring.security.config.core.UserRepository] found for dependency [com.H.spring.security.config.core.UserReposi
org.springframework.context.ApplicationContextException: Unable to start EmbeddedWebApplicationContext due to missing EmbeddedServletContainerFactory bean(SpringApplication.java:361) [spring-boot-1.3.3.RELEASE.jar:1.3.3.RELEASE]
at org.springframework.boot