From time to time, Eclipse
(Indigo) complains that certain classes in my projects cannot be resolved to a type
. Even it shows the class in popup list, clicking import
(see image) does not add the import statement! Even if I add it manually, it doesn't recognize it (and underlines the import package).
Right click on your project name ->Maven ->Update Project