为什么会配置失败呢
HTTP Status 404 – Not FoundHTTP Status 404 – Not Found
Type Status Report
Message /o2o/frontend/index
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/9.0.0.M18
本地访问之前是没事的,不知道怎么访问不了啦
Root Cause
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'wechatLoginController': Unsatisfied dependency expressed through field 'personInfoService'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.hanmeng.o2o.service.PersonInfoService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Root Cause
org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.hanmeng.o2o.service.PersonInfoService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}