Creating Spring MVC app

eclipse, java, maven, spring, spring-mvc

Solution

Found a solution atlast, the issue is caused by STS removing some of the facet dependancies, doing the below solved the issue for me in Eclipse Kepler SR2

Go to Install New Software work with update site "Kepler - http://download.eclipse.org/releases/kepler" under Web, XML, Java EE and OSGi Enterprise Development" select the below items and proceed to update

Eclipse Faceted Project Framework

Eclipse Faceted Project Framework JDT Enablement

Eclipse Java EE Developer Tools

Problem

I am using Eclipse Kepler, and i have installed Spring IDE and STS but when i created Spring MVC Template project i have got errors, then i went to Maven Update options but i have got error. I don't know why. Please, help! Errors: Error during build of project [firstSpring] Errors occurred during the build. Errors running builder 'Faceted Project Validation Builder' on project 'firstSpring'. Could not initialize class org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants Errors running builder 'Validation' on project 'firstSpring'. org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants An internal error occurred during: "J2EE Component Mapping Update". org.eclipse.jst.j2ee.project.facet.IJ2EEFacetConstants

Original source