Clearing Eclipse when it seems to hang-on to old project settings

When Eclipse seems to be holding-on to old project settings:

  1. Make sure you’re updating the correct configuration file. For example in a Spring project, you might have xml files with very similar content for dev use, production use, and integration test use. If there’s an exception, look closely if it mentions such a filepath; you might be editing the wrong one!
  2. If all else fails,
    1. Shutdown Eclipse
    2. Find .metadata/.plugins/.org.eclipse.wst.server.core/ under your workspace dir and delete all its contents
    3. Restart Eclipse