"Invalid derived query! No property accountUsername found for type Bookmark" error in STS
urig opened this issue · comments
Uri Goldstein commented
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
Greg L. Turnquist commented
Problem seems to have vanished. I have run this in IntelliJ as well as on the command line, and see now such issue.