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

0
15 comments
Avatar
Permanently deleted user

Andreas,

Are you sure you use similar versions of Grails framework running your project from command line and form IDEA?

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

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?

0
Avatar
Permanently deleted user

Yepp,

where dou you want me to send/put it ?

Andreas

0
Avatar
Permanently deleted user

Please, send it to ilya.sergey@jetbrains.com

0
Avatar
Permanently deleted user

you should have it in a second.

0
Avatar
Permanently deleted user

Were you able to reproduce the behavior ?

Andreas

0
Avatar
Permanently deleted user

I haven't look at it yet, sorry. I'll do it as soon as I can.
Thanks.

0
Avatar
Permanently deleted user

Fixed. Thanks for best example.

Ilya

0
Avatar
Permanently deleted user

What was the solution for this?

0
Avatar
Permanently deleted user

Some project libraries were missed from classpath of Grails run configuration.

0
Avatar
Permanently deleted user

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

0
Avatar
Permanently deleted user

Hm, seems, I know, where the problem is. I missed some libraries form plugin classpath. Could you name, what plugin do you use exactly?

0
Avatar
Permanently deleted user

I use yui, selenium and quartz. Will probably use other plugins too.

Thanks.

0
Avatar
Permanently deleted user

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.

0

Please sign in to leave a comment.