SaiUpadhyayula / spring-reddit-clone

Reddit clone built using Spring Boot, Spring Security with JWT Authentication, Spring Data JPA with MySQL, Spring MVC. The frontend is built using Angular - You can find the frontend source code here - https://github.com/SaiUpadhyayula/angular-reddit-clone

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error while following through the tutorial.

BhanuD19 opened this issue · comments

Hi,

Thanks for reporting this, please have a look at the commit - 33e0d57

When there is a checked exception we have to also log the root cause of the exception, by just using throw new SpringRedditException("....") we are consuming the root cause of the error message.

I fixed it with the above-mentioned commit.

Now you should see what is causing the exception.

I got the same error , so i changed the mail port number in application.properties file ,
spring.mail.port = 465

Hope it helps !!!

Yes. I did the same thing by using simplemailsender and logging the error with that one. It got solved.