Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Error: Cannot change version of project facet Dynamic Web Module to 2.3

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 5.55k
    Comment on it

    While working on maven project, encountered an error:

    Cannot change version of project facet Dynamic Web Module to 2.3.     line 1 Maven Java EE Configuration Problem

    When I tried to run the project it was running fine but always giving the error on eclipse. To remove this error:

    1) Click on Project->Properties->Project Facets - Change Java to 1.5, uncheck Dynamic web module and click ok.

    2) Check your pom.xml and find build. Change configuration to 1.7

    <build>
        <finalName>Test
        </finalName>
    	  <pluginManagement>
    	   <plugins>
    	    <plugin>
    	        <groupId>org.apache.maven.plugins</groupId>
    	        <artifactId>maven-compiler-plugin</artifactId>          
    	        <configuration>
    	            <source>1.7</source>
    	            <target>1.7</target>
    	        </configuration>
    	    </plugin>
    	   </plugins>
    	  </pluginManagement>
     </build>

    3) Go to maven -> Update Project. 

    4) Change Dynamic web module to 3.1

     

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: