Shreya
JCHJava Community | Help. Code. Learn.
•Created by Shreya on 11/24/2024 in #java-help
when i am starting as springboot application on eclipse it is working fine but when i am running th
when i am starting my springboot project as springboot application on eclipse it is working fine but when i am running the jar file on cmd it is showing the mailstrap error.
( Error processing condition on org.springframework.boot.autoconfigure.mail.MailSenderAutoConfiguration
2024-11-24T20:39:24.197+05:30 INFO 10344 --- [smartcontactmanager2.0] [ main] .s.b.a.l.ConditionEvaluationReportLogger :
Error starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled.
2024-11-24T20:39:24.236+05:30 ERROR 10344 --- [smartcontactmanager2.0] [ main] o.s.boot.SpringApplication : Application run failed)
basically Spring Boot cannot resolve the placeholder "${EMAIL_HOST}". but i have set this on my environment variable. can anybody help me how to resolve this problem?
8 replies