Method must have signature “String method() …[etc]…” but has signature “void method()”

Ignore it. Eclipse is a jerk. You can tone it by setting Window > Preferences > Web > JavaServer Faces Tools > Validation > Type Assignment Problems > Method expression signature incompatibility to Warning or Ignore (it defaults to Error). Image borrowed from this blog in all courtesy. The reason is, Eclipse expect the action … Read more

Eclipse “Server Locations” section disabled and need to change to use Tomcat installation

Ok, sorry for my previous answer, I had never seen that Overview screen before. Here is how I did it: Right click on my tomcat server in “Servers” view, select “Properties…” In the “General” panel, click on the “Switch Location” button The “Location: [workspace metadata]” bit should have been replaced by something else. Open (or … Read more

What’s in an Eclipse .classpath/.project file?

Eclipse is a runtime environment for plugins. Virtually everything you see in Eclipse is the result of plugins installed on Eclipse, rather than Eclipse itself. The .project file is maintained by the core Eclipse platform, and its goal is to describe the project from a generic, plugin-independent Eclipse view. What’s the project’s name? what other … Read more