Eclipse error … cannot be resolved to a type

Also If you are using mavenised project then try to update your project by clicking Alt+F5.
Or right click on the application and go to maven /update project.

It builds all your components and resolves if any import error is there.

Leave a Comment