Could not autowire org.springframework.mail.javamail.JavaMailSender

前端 未结 8 743
时光取名叫无心
时光取名叫无心 2021-02-11 22:18

I got the following problem when trying to run my application. Have debugged everything and still nothing.

The IDE is finding the bean without any issue so I\'m very con

8条回答
  •  醉梦人生
    2021-02-11 22:55

    In my case, I removed something and my project not shown as maven project. (I am using IntelliJ for my Spring Boot application)

    Set project as maven project (Close and reopen IntelliJ. It will show popup) fixes the issue.

提交回复
热议问题