玩2.4邮件 [英] Play 2.4 Mailer
本文介绍了玩2.4邮件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用play framework 2.4,我正在尝试使用play mailer插件发送电子邮件,但是不断得到这个错误:
[ClassNotFoundException:play.api.libs.mailer.CommonsMailerPlugin]
我使用这个依赖关系: / p>
com.typesafe.play%%play-mailer%3.0.1
此插件:
1500:play.api.libs.mailer.CommonsMailerPlugin
任何想法如何解决?
解决方案
我删除了play.plugins文件中的这些行,并清理了项目(删除目标和项目文件夹),它适用于我。 p>
I am using play framework 2.4 and i am trying to send an email using play mailer plugin but keep getting this error:
[ClassNotFoundException: play.api.libs.mailer.CommonsMailerPlugin]
I asm using this dependenct:
"com.typesafe.play" %% "play-mailer" % "3.0.1"
And this plugin:
1500:play.api.libs.mailer.CommonsMailerPlugin
Any idea how to fix that?
解决方案
I removed these lines in play.plugins file and clean the project (delete target and project folders) and it works for me.
这篇关于玩2.4邮件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文