Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin doesn't work with Grails 3.2.4 #2

Open
n8price opened this issue Oct 5, 2018 · 1 comment
Open

Plugin doesn't work with Grails 3.2.4 #2

n8price opened this issue Oct 5, 2018 · 1 comment

Comments

@n8price
Copy link

n8price commented Oct 5, 2018

Adding the plugin to a new Grails 3.3.6 project seems to work with no issues. I've created a 3.3.6 project from scratch to test this. However I have an older Grails 3.2.4 project I'd like to add it to and I run into this error in both my app and a clean grails 3.2.4 app that I created just to test this.

2018-10-05 12:14:02.800 ERROR --- [           main] o.s.boot.SpringApplication               : Application startup failed

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'grailsApplicationPostProcessor' defined in bookstore.Application: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [grails.boot.config.GrailsApplicationPostProcessor]: Factory method 'grailsApplicationPostProcessor' threw exception; nested exception is grails.plugins.exceptions.PluginException: Failed to initialize class [grails.plugins.springbatch.ui.SimpleScheduleController] from plugin [springBatch] : org/grails/compiler/web/converters/RenderConverterTrait

There appears to be an issue with the Grails convertors in 3.2.4. The readme says that the plugin:

should work for Grails 3.0.x and higher.

but I don't think that is the case without some changes. We will probably be upgrading our 3.2.4 app soon anyway but the docs should probably be changed if it doesn't work with 3.2.x etc.

@puneetbehl
Copy link
Collaborator

@n8price It's good that you are upgrading to 3.3.6. Meanwhile, I will also check the feasibility of downgrading the Grails version in the plugin to 3.2.x to see if it can still support both 3.2.x and 3.3.x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants