Why must I always “Add Spring project Nature” after Maven “Update Project Configuration” in Eclipse?
问题 I'm using Eclipse to work on a Spring project that is controlled via Maven (well, the m2e plugin in Eclipse). Whenever I make a change to the Maven pom.xml file, the interface complains and says I subsequently need to run "Update project configuration" from the Maven item seen in the context menu when you right-click the top-level project. When this completes, the project has then always lost its "Spring project nature", which I need to add again from the Spring item in the same context menu.