Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Spring MVC app

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

like image 803
Nedimo Avatar asked May 27 '14 20:05

Nedimo


People also ask

Which IDE is best for Spring MVC?

IntelliJ IDEA Ultimate – the IDE for Spring development. JetBrains: Developer Tools for Professionals and Teams. IntelliJ IDEA Ultimate provides a rich set of built-in developer tools and outstanding support for the Spring framework.

What is Spring MVC application?

The Spring Web model-view-controller (MVC) framework is designed around a DispatcherServlet that dispatches requests to handlers, with configurable handler mappings, view resolution, locale and theme resolution as well as support for uploading files.


1 Answers

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

like image 70
Deepu Avatar answered Sep 20 '22 12:09

Deepu