Error on enabling Email Functionality in Admin 3.0

Forum for questions and issues related to 3.0 migration.

Those wishing to upgrade should start by looking at the migration documents published on the Broadleaf Commerce documentation site.

Moderator: jocanas

deepti
Newbie
Newbie
Posts: 5
Joined: Wed Jul 17, 2013 6:02 am

Error on enabling Email Functionality in Admin 3.0

Postby deepti » Wed Aug 21, 2013 6:41 am

Hi, I am getting following exception after enabling email functionality for forget password in admin 3.0 applicationContext-admin.xml file:

Could not prepare mail; nested exception is org.thymeleaf.exceptions.TemplateProcessingException: Resource resolution by ServletContext with org.thymeleaf.resourceresolver.ServletContextResourceResolver can only be performed when context implements org.thymeleaf.context.IWebContext [current context: org.thymeleaf.context.Context]

I am using thymeleaf version 2.0.16 now as given in the below link
https://github.com/BroadleafCommerce/BroadleafCommerce/issues/158

but even though no luck. Please Help.

deepti
Newbie
Newbie
Posts: 5
Joined: Wed Jul 17, 2013 6:02 am

Re: Error on enabling Email Functionality in Admin 3.0

Postby deepti » Fri Aug 30, 2013 12:47 am

Is there anyone who can try to help me on this issue??? :( :?

hiteshsingla
Beginner
Beginner
Posts: 24
Joined: Wed Jul 31, 2013 9:51 am

Re: Error on enabling Email Functionality in Admin 3.0

Postby hiteshsingla » Mon Sep 02, 2013 2:17 am

I think the problem is due to the use of context path in the mails.Try giving the complete path in the reset password url i.e. http://localhost... like this.In emails you can not use relative urls.You have to go with the absolute paths.


Return to “3.0 Upgrade and Migration”

Who is online

Users browsing this forum: No registered users and 1 guest