【发布时间】:2022-11-19 13:19:57
【问题描述】:
"jboss.deployment.unit.\"EmployeeAttendenceAPI.war\component.CommonMailTemplateWebService.START",
"jboss.deployment.unit.\"EmployeeAttendenceAPI.war\component.ShiftAutomationNewMail.START", "jboss.deployment.unit.\"EmployeeAttendenceAPI.war\".component.ShiftAutomationNewMail.WeldInstantiator",etc
我试图在我的 java 应用程序中生成战争,但无法执行,我的 wild fly 服务器显示此错误,
检查邮件服务器 smtp-its 在我的 standalone.bat 中配置良好,还添加了 java 邮件 jar 文件, 同样的邮件配置在另一个项目中工作正常,为什么这里显示错误
【问题讨论】:
-
您用于获取邮件会话的 JNDI 配置看起来有误。粘贴邮件子系统配置以查看问题出在哪里。
标签: java smtp wildfly mail-server