Running 7.0.3 Grails Project in 8M1 fails
Hi,
ich have alittle problem getting a 7.0.4rc5 Project running in 8M1.
i always get the following error, when i try to run jetty from Idea:
groovy.lang.MissingMethodException: No signature of method: groovy.util.ConfigSlurper.parse() is applicable for argument types: (Config) values: {Config@b66478}
stacktrace omitted
Failed to compile configuration file /Users/afink/Projects/java/gproject/grails-app/conf/Config.groovy: No signature of method: groovy.util.ConfigSlurper.parse() is applicable for argument types: (Config) values: {Config@b66478}
Running the project from commandline is no problem.
Running newly created grails projects from idea is also no problem, i guess it´s something in the project file.
I already removed the grails facets and readded them, but no luck.
Any ideas ?
Greetings Andreas
Please sign in to leave a comment.
Andreas,
Are you sure you use similar versions of Grails framework running your project from command line and form IDEA?
Ilya,
yes definitely. My GRAILS_HOME points to the same grails installation used in IDEA.
If i open up the Project in 7.04rc5 i starts up as expected.
Andreas
Sounds very strange, it seems that jetty you run lost some libraries in its classpath. Could you send me a little example of such project to reproduce this bug?
Yepp,
where dou you want me to send/put it ?
Andreas
Please, send it to ilya.sergey@jetbrains.com
you should have it in a second.
Were you able to reproduce the behavior ?
Andreas
I haven't look at it yet, sorry. I'll do it as soon as I can.
Thanks.
Fixed. Thanks for best example.
Ilya
What was the solution for this?
Some project libraries were missed from classpath of Grails run configuration.
IIya,
The config sluper message went away after I updated but I am now gettin this message when the plugins are being initialized:
Loading with installed plug-ins: ["selenium", "yui", "quartz"] ...
Error executing script RunApp: Class org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy does not implement the requested interface org.xml.sax.Attributes
java.lang.IncompatibleClassChangeError: Class org.apache.xerces.parsers.AbstractSAXParser$AttributesProxy does not implement the requested interface org.xml.sax.Attributes
Hm, seems, I know, where the problem is. I missed some libraries form plugin classpath. Could you name, what plugin do you use exactly?
I use yui, selenium and quartz. Will probably use other plugins too.
Thanks.
Hello all again.
Yes, there was such error. It appeared because after last changes some libraries form use JRE got to grails application classpath. This bug will be fixed in next build (apparently today's evening) in plugin version 1.6 and 2.0. Sorry for inconvenience.