Error creating bean with name 'testController': Unsatisfied dependency expressed through field 'mailSender'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.mail.javamail.JavaMailSender' available: expected at least 1 bean which qualifies as autowire candidate.?Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}一加上@AutowiredJavaMailSender mailSender?就會(huì)報(bào)錯(cuò)...
添加回答
舉報(bào)
0/150
提交
取消