Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

HTTP Status 500 – Internal Server Error #48

Open
zuguangz97 opened this issue Dec 13, 2024 · 0 comments
Open

HTTP Status 500 – Internal Server Error #48

zuguangz97 opened this issue Dec 13, 2024 · 0 comments

Comments

@zuguangz97
Copy link

Describe the bug
Type Exception Report

Message Not provider of jakarta.mail.util.StreamProvider was found

Description The server encountered an unexpected condition that prevented it from fulfilling the request.

Exception

java.lang.IllegalStateException: Not provider of jakarta.mail.util.StreamProvider was found
jakarta.mail.util.FactoryFinder.find(FactoryFinder.java:64)
jakarta.mail.util.StreamProvider.provider(StreamProvider.java:186)
jakarta.mail.Session.(Session.java:254)
jakarta.mail.Session.getInstance(Session.java:308)
com.shashi.utility.JavaMailUtil.sendMail(JavaMailUtil.java:92)
com.shashi.utility.MailMessage.transactionSuccess(MailMessage.java:44)
com.shashi.service.impl.OrderServiceImpl.paymentSuccess(OrderServiceImpl.java:65)
com.shashi.srv.OrderServlet.doGet(OrderServlet.java:36)
com.shashi.srv.OrderServlet.doPost(OrderServlet.java:51)
javax.servlet.http.HttpServlet.service(HttpServlet.java:555)
javax.servlet.http.HttpServlet.service(HttpServlet.java:623)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant