Improve error message when no spring annotation class is found