spring-nature

Why must I always “Add Spring project Nature” after Maven “Update Project Configuration” in Eclipse?

|▌冷眼眸甩不掉的悲伤 提交于 2020-01-04 01:50:11
问题 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.

Enable Spring Project Nature in STS 4 to fix XML Schema problems

安稳与你 提交于 2019-12-23 05:31:39
问题 I'm trying to apply the solutions (proper XML schema resolution) mentioned here which requires me to enable Spring project nature in an existing project in STS 4. According to this, there would be a Spring Tools context menu on which one can do “Spring Tools -> Add Spring Project Nature” . I'm not seeing that menu: My .project file has the following already: <natures> <nature>org.springframework.ide.eclipse.core.springnature</nature> <nature>org.eclipse.jdt.core.javanature</nature> <nature