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

"Invalid derived query! No property accountUsername found for type Bookmark" error in STS #48

Closed
urig opened this issue Mar 4, 2018 · 1 comment

Comments

@urig
Copy link

urig commented Mar 4, 2018

When following the tutorial in STS, when I get to the BookmarkRepository the line

Collection<Bookmark> findByAccountUsername(String username);

Gives the error:

Invalid derived query! No property accountUsername found for type Bookmark

Looks like it's missing a @query attribute, based on this SO answer: https://stackoverflow.com/a/35129939/33404

@gregturn
Copy link
Contributor

Problem seems to have vanished. I have run this in IntelliJ as well as on the command line, and see now such issue.

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

Successfully merging a pull request may close this issue.

2 participants