Failed to execute : org.apache.maven.plugins:maven-compiler-plugin -


i creating web project using maven, java 7, string framework, hibernate, jpa , restful service in eclipse. changed jre library in java build path , change compiler.

but got error

cannot change version of project facet dynamic web module 3.0. 

thanks in advance !!!

you need change version web.xml need change configuration can find below:

<web-app xmlns="http://java.sun.com/xml/ns/javaee"          xmlns:xsi="http://www.w3.org/2001/xmlschema-instance"          xsi:schemalocation="http://java.sun.com/xml/ns/javaee            http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"     version="3.0">     <display-name>servlet 3.0 web application</display-name> </web-app> 

then update project.


Comments

Popular posts from this blog

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

python Tkinter Capturing keyboard events save as one single string -

sql server - Why does Linq-to-SQL add unnecessary COUNT()? -