How to solve GWT compiler error of '[ERROR] The Ginjector xxx does not have a get() method returning'

How to solve GWT compiler error of ‘[ERROR] The Ginjector xxx does not have a get() method returning’