maven error resolution

Description    Resource    Path    Location    Type
Project configuration is not up-to-date with pom.xml. Select: Maven->Update Project... from the project context menu or use Quick Fix.    web-maven-222        line 1    Maven Configuration Problem


The following steps worked for me:

    Close the project in Eclipse.
    Delete the project in Eclipse ( but not the contents ).
    Navigate to the project in file system and delete .classpath and .project files.
    Go back to Eclipse and import the project as "existing maven project".

 

Quote: http://stackoverflow.com/questions/17418630/eclipse-blue-maven-project-configuration-is-not-up-to-date-with-pom-xml

 

 

Remove [WARNING] Using platform encoding (GBK actually) to copy filtered resources, ie build is platform dependent!
When using maven and jetty again, if you don't want to see the above warning, then you just need to modify the pom as follows:

<plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-resources-plugin</artifactId>
    <version>2.3</version>
    <configuration>
        <encoding>UTF-8</encoding>
    </configuration >
</plugin>
Add <configuration>…</configuration>

 

Quote: http://3806850.iteye.com/blog/904894

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326696021&siteId=291194637