Re: [grails-dev] MissingPropertyException: No such property: save for class:

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [grails-dev] MissingPropertyException: No such property: save for class:

by Peter Ledbrook :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>    I am getting error when i adding static searchable =
> [only:['userRealName']] to the domain class.
> my domain class is user which has one to Many relationship with Role.
> this is a typical spring security domain classes.
> I googled and found there is patch to solve the issue but could not find the
> patch.
> Any kind of help will be appreciated.
> error stack
> 2009-11-08 23:42:21,328 [main] ERROR context.ContextLoader  - Context
> initialization failed
> org.springframework.beans.factory.access.BootstrapException: Error executing
> bootstraps; nested exception is
> org.codehaus.groovy.runtime.InvokerInvocationException:
> groovy.lang.MissingPropertyException: No such property: save for class: Role

First, this should be directed to the user mailing list, which I've
included as a recipient.

Second, have you tried running "grails clean"? This looks like a
typical problem with cached classes. If that doesn't work, what
version of Grails and Searchable?

Cheers,

Peter

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email