grails clean is your friend. Generally speaking you should always do
a clean before/after an upgrade.
On Fri, May 16, 2008 at 3:19 AM, Fox Woo <
foxwu718@...> wrote:
> I upgrade to 1.0.3-SNAPSHOT and the error occured. After clean it is ok.
>
> 2008/5/16 Peter Ledbrook <
peter@...>:
>>
>> 2008/5/16 Fox Woo <
foxwu718@...>:
>> > Hi,
>> > I define tow methods in my controller:
>> > def revise = {
>> > def item
>> > // blah blah
>> > }
>> > def check = {
>> > def item
>> > // blah blah
>> > }
>>
>> Make sure your curly braces are all fine. The error probably means
>> that one of your actions defines "item" twice, or the "check" action
>> is inside the "revise" action (due to curly brace mismatch).
>>
>> Cheers,
>>
>> Peter
>>
>> --
>> Software Engineer
>> G2One, Inc.
>>
http://www.g2one.com/>>
>> ---------------------------------------------------------------------
>> To unsubscribe from this list, please visit:
>>
>>
http://xircles.codehaus.org/manage_email>>
>>
>
>
>
> --
> 爱生活,爱FOX