【发布时间】:2021-12-27 19:28:13
【问题描述】:
我有一个使用 Grails Mail 插件发送电子邮件的 Grails REST API。它在本地运行良好,但在 AWS 弹性 beanstalk 上,我收到以下错误:
java.lang.IllegalArgumentException: Could not locate mail body /mail/denial. Is it in a plugin? If so you must pass the
plugin name in the [plugin] variable
我确实有一个名为 denial.gsp 的 GSP,位于路径 /mail/denial.gsp。我分解了 WAR 文件并验证它是在正确的路径中构建到 WAR 中的。
【问题讨论】:
标签: grails amazon-elastic-beanstalk grails-plugin