开发者

Google Appengine CRON task with spring velocityengineutil

I am t开发者_高级运维rying to write a cron task in app engine for sending emails by calling mergetemplatewithstring in spring velocityengineutils.

Unfortunately it does not throw any exception but the mail is never sent. Anyone has any pointers?


I was facing similar issues. My Cron servlet was triggered and logging indicates that it fails when the call to mergeTemplateWithStrings is called. In my case VelocityEngine was null.

I am sure that some of the java class in your code is not initialized. Cross check your code and it should work once you ensure all classes are initialized.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜