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

15 comments
Comment actions Permalink

Andreas,

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

0
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

Yepp,

where dou you want me to send/put it ?

Andreas

0
Comment actions Permalink

you should have it in a second.

0
Comment actions Permalink

Were you able to reproduce the behavior ?

Andreas

0
Comment actions Permalink

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

0
Comment actions Permalink

Fixed. Thanks for best example.

Ilya

0
Comment actions Permalink

What was the solution for this?

0
Comment actions Permalink

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

0
Comment actions Permalink

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
Comment actions Permalink

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
Comment actions Permalink

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

Thanks.

0
Comment actions Permalink

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.