Open MMesch opened 5 years ago
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'
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.
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.
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
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 doinggrails 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.
Thank's @jasonwhetton. You gave me a good hint. dependency conflict
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 withisConverterClass
(see below).I am quite new to grails and don't even know if this plugin is related to it. Any ideas?