When Eclipse seems to be holding-on to old project settings:
- 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!
- If all else fails,
- Shutdown Eclipse
- Find .metadata/.plugins/.org.eclipse.wst.server.core/ under your workspace dir and delete all its contents
- Restart Eclipse