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

Error creating bean with name 'gspTagLibraryLookup': ... No signature of method: static ... isConverterClass() is applicable for argument types: ... [class java.lang.Boolean] #13

Open
MMesch opened this issue Oct 4, 2019 · 6 comments

Comments

@MMesch
Copy link

MMesch commented Oct 4, 2019

I have a grails 4.0 app that compiles fine with gradle but that fails when I deploy it on tomcat. I get plenty of BeanCreationExceptions that allows go back to a problem with isConverterClass (see below).

 nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gspTagLibraryLookup': Invocation of init method failed; nested exception is groovy.lang.MissingMethodException: No signature of method: static org.grails.web.converters.ConverterUtil.isConverterClass() is applicable for argument types: (Class) values: [class java.lang.Boolean]

I am quite new to grails and don't even know if this plugin is related to it. Any ideas?

@dustindclark
Copy link

Ran into this as well while upgrading to Grails 4. Make sure you add the dependency on the converters plugin to your build.gradle:

compile 'org.grails.plugins:converters:4.0.0'

@latenightwreck
Copy link

latenightwreck commented Aug 10, 2020

Hey,

I'm also getting a similar error on start up of my Grails 4.0.4 application when running on Tomcat 8.5.57, Java version 1.8.0.241. This app is going through an upgrade from Grails 3.2.2.

10/08/2020 14:43:41.985 ERROR org.springframework.boot.SpringApplication - Application run failed groovy.lang.MissingMethodException: No signature of method: static org.grails.web.converters.ConverterUtil.isConverterClass() is applicable for argument types: (Class) values: [boolean]
I've included the converters plugin in my build.gradle, using 4.0.1.

The application comes up fine when doing grails run-app, but when I go to install the WAR file into the webapps directory, I receive this error. If there is any other information you need that can help, please let me know.

Thank you.

EDIT: corrected version of converters plugin.

@jasonwhetton
Copy link

Hey,

I'm also getting a similar error on start up of my Grails 4.0.4 application when running on Tomcat 8.5.57, Java version 1.8.0.241. This app is going through an upgrade from Grails 3.2.2.

10/08/2020 14:43:41.985 ERROR org.springframework.boot.SpringApplication - Application run failed groovy.lang.MissingMethodException: No signature of method: static org.grails.web.converters.ConverterUtil.isConverterClass() is applicable for argument types: (Class) values: [boolean]
I've included the converters plugin in my build.gradle, using 4.0.1.

The application comes up fine when doing grails run-app, but when I go to install the WAR file into the webapps directory, I receive this error. If there is any other information you need that can help, please let me know.

Thank you.

EDIT: corrected version of converters plugin.

Did you manage to fix this? I'm seeing the same issue and don't have a solution yet.

@ingkat68
Copy link

Hey,

I'm also getting a similar error on start up of my Grails 4.0.4 application when running on Tomcat 8.5.57, Java version 1.8.0.241. This app is going through an upgrade from Grails 3.2.2.

10/08/2020 14:43:41.985 ERROR org.springframework.boot.SpringApplication - Application run failed groovy.lang.MissingMethodException: No signature of method: static org.grails.web.converters.ConverterUtil.isConverterClass() is applicable for argument types: (Class) values: [boolean]
I've included the converters plugin in my build.gradle, using 4.0.1.

The application comes up fine when doing grails run-app, but when I go to install the WAR file into the webapps directory, I receive this error. If there is any other information you need that can help, please let me know.

Thank you.

EDIT: corrected version of converters plugin.

Hi latenightwreck,
have you found a solution to this issue? it would help me a lot... I've been stuck for 2 days.
Tks

@jasonwhetton
Copy link

Hey,
I'm also getting a similar error on start up of my Grails 4.0.4 application when running on Tomcat 8.5.57, Java version 1.8.0.241. This app is going through an upgrade from Grails 3.2.2.
10/08/2020 14:43:41.985 ERROR org.springframework.boot.SpringApplication - Application run failed groovy.lang.MissingMethodException: No signature of method: static org.grails.web.converters.ConverterUtil.isConverterClass() is applicable for argument types: (Class) values: [boolean]
I've included the converters plugin in my build.gradle, using 4.0.1.
The application comes up fine when doing grails run-app, but when I go to install the WAR file into the webapps directory, I receive this error. If there is any other information you need that can help, please let me know.
Thank you.
EDIT: corrected version of converters plugin.

Hi latenightwreck,
have you found a solution to this issue? it would help me a lot... I've been stuck for 2 days.
Tks

Hi,

This turned out, in my case, to be a conflict in versions of the converter library. Check your dependency graph and look for older versions of the converters library, you may need to upgrade some other plugin.

@ingkat68
Copy link

Thank's @jasonwhetton. You gave me a good hint. dependency
conflict

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

5 participants