Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GRAILS Dynamic methods missing after enabling plugin #9

Open
roanosullivan opened this issue May 7, 2014 · 0 comments
Open

GRAILS Dynamic methods missing after enabling plugin #9

roanosullivan opened this issue May 7, 2014 · 0 comments

Comments

@roanosullivan
Copy link

For example, during login attempt (using spring-security plugin), I get:

Error 500: Internal Server Error
URI
/j_spring_security_check
Class
groovy.lang.MissingMethodException
Message
No signature of method: static com.example.MyUser.findByUsername() is applicable for argument types: (java.lang.String) values: [admin]

When I disable the plugin (and remove @LogicalDelete annotation from domain class) , login succeeds, so presumably MyUser dynamic methods are no longer missing.

Environment:

  • Grails 2.3.6,
  • JDK 1.7.0_51,
  • Windows 7,
  • BuildConfig.groovy:
    • runtime ":hibernate:3.6.10.12"
    • compile ":hibernate-filter:0.3.2"
    • compile ":envers:2.1.0"
    • etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant