score:1
actually this is a java version related issue. since this project has is dependent to a java project running in a server with java 6 we have downgraded the project from java 7 to java 6.
i have changed runtime, build path and pom.xml pointing to java 6. but, forgot to change in web.xml header endpoints.
because of that , when updating the project, eclipse got struck up to find that this is a web project.
i.e,
from (java 7)
<web-app xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"
xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd"
id="webapp_id"
version="3.1">
to (java 6)
<web-app xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemalocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id="webapp_id"
version="3.0">
after this change, on "maven-> update project" i got the proper project setup.
Source: stackoverflow.com
Related Query
- on update maven project it removes the attribute name="org.eclipse.jst.component.dependency" in eclipse in .classpath file
- How to combine the update of a m2e maven project in Eclipse with a "maven build" run configuration to execute pom.xml
- Import Maven Project to Eclipse and Fix the errors
- Multiple versions of the same multi-modules maven project under eclipse
- eclipse project not importing the jar packages in local Maven repository
- Eclipse + Maven + Groovy: src/test/groovy directory gets removed after update project configuration
- How to setup/import a multi maven module SVN-connected project in Eclipse the best way?
- what is the difference between refresh and update project in eclipse
- Maven Hides Web.xml from Eclipse and JBossAS Tools after Update Project Configuration
- More than one scala library found in the build path when fresh creating maven project in eclipse
- Maven (m2e) does not update the JRE in Eclipse
- Maven Project on Eclipse revert java compiler version (from 1.8 to 1.5) after update (alt f5)
- Automating the Import of Existing Maven Project Into Eclipse
- How to make the runnable jar file for a maven eclipse project with hibernate configuration
- Disabling the Maven project builder when importing projects into eclipse
- eclipse nullpointer exception for modulare maven project update
- Create a maven webapp project using the eclipse kelper, I got an eclipse error
- Build Failure in the First Maven Project using Eclipse
- Eclipse doesn't show src/main/resources in my maven project the way I see it elsewhere
- How to convert a maven dependeny from the local repo to a maven project in eclipse ?
- Eclipse maven jboss project - what do I need to add to the pom.xml so maven can compile?
- Eclipse -> Maven -> Update Project Configuration and Maven Standard Directory Layout
- Why does eclipse not find the beans.xml files in a spring based Maven project
- Disable Options Available in the Update Maven Project Window in RAD
- Eclipse: Maven -> Update Project leads to Eclipse -> Tomcat 7 starting issue
- The type getServletContext() is undefined for the type HttpServletRequest in a maven project for Eclipse
- Eclipse Juno and Maven plugin fails with project update
- Why are Eclipse project files modified when excuting the "Update Maven Project" command?
- How do I update the Maven configuration in Eclipse Luna?
- Eclipse Launched Maven project not using classes in the \target folder
More Query from same tag
- How do you input a Array's of ints and chars to a method that requires chars and ints
- Heap Size Memory Overflow! Eclipse-cocos2d-x
- Eclipse RCP: how to observe the states of the cut/copy/paste commands?
- Why does Android Eclipse constantly refresh external folders and take forver?
- Ending a while loop with a predetermined input in eclipse
- Eclipse tomcat on web application start java.lang.ClassNotFoundException: org.mockito.Mockito
- Cannot Start Eclipse. JVM terminated. Exit code=13. (RHEL)
- Eclipse Formatter following Java code convention?
- Problem: failed to create task or type projectImport
- New project created with eclipse buildship is improperly configured (packages not recognised)
- How to transfer Eclipse workspace and project from Windows to Linux and Mac
- OpenCV setup in eclipse
- Eclipse OSGI unsatisfied constraint
- Stuck on using Hadoop after completing all the configuration
- How to start run in eclipse by command line?
- Not able to launch IE/Chrome from Selenium Webdriver
- Play Scala SBT not showing dependency in Reference Library in Eclipse
- CREDENTIAL_ERROR when starting Glassfish
- Ant build won't run in Eclipse
- I put my android library project in git and now I cannot reference it anymore
- Configure Eclipse to use bash login shell for Cygwin toolchain
- Elgently ignoring netscape.javascript.JSException during development
- Error while installing eclipse android plugin
- Opening Java enum method declarations in Eclipse
- Eclipse: Java Enum auto-completion of switch case
- Debugging Thorntail Services in Eclipse?
- wxPython version issue
- How do I use other API versions as build targets in my Android Project?
- unable to connect to remote database located on server
- IBM Worklight 6.1.0.1 server not starting on Windows 8.1 Pro 64 bits