Fix "Problem locating method" SpEL error message

Replace "Problem locating method {0} cannot on type {1}" with
"Problem locating method {0} on type {1}".

Issue: SPR-10928
Merge pull request #357 from clemp6r/patch-2

# By Clément Plantier
* patch-2:
  Fix "Problem locating method" SpEL error message