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

Andreas,

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

0

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

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

Yepp,

where dou you want me to send/put it ?

Andreas

0

you should have it in a second.

0

Were you able to reproduce the behavior ?

Andreas

0

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

0

Fixed. Thanks for best example.

Ilya

0

What was the solution for this?

0

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

0

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

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

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

Thanks.

0

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.