i want to integrated grails asynchronous-mail:1.0 plugin to my app for that i have added following to my build config compile ":asynchronous-mail:1.0"
after that as i tried to run-app which fails by following exceptions
| Error 2014-06-26 11:49:55,958 [localhost-startStop-1] ERROR context.GrailsContextLoader - Error initializing the application: Error creating bean with name 'nonAsynchronousMailService': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'grailsApplication' of bean class [grails.plugin.mail.MailService]: Bean property 'grailsApplication' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Message: Error creating bean with name 'nonAsynchronousMailService': Error setting property values; nested exception is org.springframework.beans.NotWritablePropertyException: Invalid property 'grailsApplication' of bean class [grails.plugin.mail.MailService]: Bean property 'grailsApplication' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
Line | Method
->> 262 | run in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
Caused by NotWritablePropertyException: Invalid property 'grailsApplication' of bean class [grails.plugin.mail.MailService]: Bean property 'grailsApplication' is not writable or has an invalid setter method. Does the parameter type of the setter match the return type of the getter?
->> 262 | run in java.util.concurrent.FutureTask
| 1145 | runWorker in java.util.concurrent.ThreadPoolExecutor
| 615 | run . . . in java.util.concurrent.ThreadPoolExecutor$Worker
^ 745 | run in java.lang.Thread
| Error Forked Grails VM exited with error
if i remove compile ":asynchronous-mail:1.0" from build-config.groovy application runs well is there any trouble with grails version 2.3.9 or with asynchronous-mail plugin
features in asynchronous-mail plugin are seems to realy good and want to use it
i am using following plugin also they are working fine
build ":tomcat:7.0.53"
// plugins for the compile step
compile ":scaffolding:2.0.3"
compile ':cache:1.1.2'
runtime ":hibernate:3.6.10.15" // or ":hibernate4:4.3.5.2"
runtime ":database-migration:1.4.0"
runtime ":jquery:1.8.3"
runtime ":resources:1.2.8"
compile ':cache:1.0.1'
compile ':spring-security-core:2.0-RC2'
runtime ":email-confirmation:2.0.8"
provided ":codenarc:0.21"
compile (":postgresql-extensions:0.9.0") {
excludes "hibernate"
}
compile ":browser-detection:0.4.3"
Anybody who is facing this problem please help thanks in advance