gpc / grails-mail

The Grails Mail Plugin
http://grails.org/plugin/mail
Apache License 2.0
45 stars 85 forks source link

unable to resolve class grails.plugin.mail.MailMessageContentRenderer @ line 73, column 1. import grails.plugin.mail.MailMessageContentRenderer #41

Closed swzaidi closed 2 years ago

swzaidi commented 6 years ago

Hi!,

I am currently upgrading grails 2.x app over to grails 3.3.6. We are using the grails-mail plugin and as such i have added the dependency compile 'org.grails.plugins:mail:2.0.0' in my application.groovy config. We are using the MailMessageContentRenderer class in resources.groovy and as such have added the import as below

import grails.plugin.mail.MailMessageContentRenderer

On running app i am getting on the following error ... org.grails.core.exceptions.GrailsConfigurationException: Error loading spring/resources.groovy file: startup failed: file:/Users/shiraz/Project/upgrade2/grails-app/conf/spring/resources.groovy: 73: unable to resolve class grails.plugin.mail.MailMessageContentRenderer @ line 73, column 1. import grails.plugin.mail.MailMessageContentRenderer ^

I am not sure what else i am missing beside adding the grails-mail plugin. I would appreciate if you can provide any pointers toward resolving the issue.

Regards, Shiraz