spring - Error in running or configuring grails application with asynchrounous mail plugin throws exceptions -
i want integrated grails asynchronous-mail:1.0 plugin app have added following build config compile ":asynchronous-mail:1.0"
after tried run-app fails following exceptions
| error 2014-06-26 11:49:55,958 [localhost-startstop-1] error context.grailscontextloader - error initializing application: error creating bean name 'nonasynchronousmailservice': error setting property values; nested exception org.springframework.beans.notwritablepropertyexception: invalid property 'grailsapplication' of bean class [grails.plugin.mail.mailservice]: bean property 'grailsapplication' not writable or has invalid setter method. parameter type of setter match return type of getter? message: error creating bean name 'nonasynchronousmailservice': error setting property values; nested exception org.springframework.beans.notwritablepropertyexception: invalid property 'grailsapplication' of bean class [grails.plugin.mail.mailservice]: bean property 'grailsapplication' not writable or has invalid setter method. parameter type of setter match return type of 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 notwritablepropertyexception: invalid property 'grailsapplication' of bean class [grails.plugin.mail.mailservice]: bean property 'grailsapplication' not writable or has invalid setter method. parameter type of setter match return type of 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 error
if remove compile ":asynchronous-mail:1.0" build-config.groovy application runs there trouble grails version 2.3.9 or asynchronous-mail plugin
features in asynchronous-mail plugin seems realy , want use it
i using following plugin working fine
build ":tomcat:7.0.53" // plugins 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 facing problem please in advance
plugin docs migrated quartz plugin.also depends on hibernate, quartz , mail plugins. stop server, include remaining dependencies, refresh dependencies ide try doing grails clean.
for time being please remove email-confirmation, refresh, clean , try plugins configuring them separately. make asynchronous-mail work first , go email-confirmation. i.e. reordering email-confirmation after asynchronous one.
Comments
Post a Comment