Problems with WebFlowTestCase in Grails with Maia beta

I moved an existing Grails 1.1.1 project from Idea 8 to the 9.0 beta today.  We have one WebFlowTestCase. Things compile fine under Idea 8 and when compiling using the Grails maven plugin on the command line, but from within the 9.0 beta I get this error:

C:\Documents and Settings\esword\.IntelliJIdea90\system\compiler\hub.hub43867542\.generated\groovyStubs\hub43867542\user-ui\tests\com\saic\hub\
    Error:Error:line (15)com.saic.hub.NaiBuilderFlowIntegrationTests is not abstract and does not override abstract method setMetaClass(groovy.lang.MetaClass) in groovy.lang.GroovyObject

Obviously, that's not right since the setMetaClass method is generated by the groovy compiler.  The only thing special about WebFlowTestCase is that it's an abstract groovy class that extends an abstract java class (org.springframework.webflow.test.execution.AbstractFlowExecutionTests).  I tried creating a few variants of dummy class heirarchies with similar attributes to see if I could find the exact problem, but I couldn't reproduce the bug using anything but the WebFlowTestCase.

Has anyone else seen a similar problem?  Or is anyone else working successfully with WebFlowTestCases under Maia?



1 comment
Comment actions Permalink

I am getting a very similar error, but it has nothing to do with webflowtestcase: it is occuring whenever I try to run a script or unit test in my grails project.
The error is like

Error:(11,8) com..... is not abstract and does not override abstract method setMetaClas(Metaclass) in groovy.lang.GroovyObject.

If I choose to rebuild then I can run the script, but then the second time I get the error if I don't rebuild manually.


Please sign in to leave a comment.