MyEclipse format error resolution from SVN checkout code to MAVEN

Source: Internet
Author: User

When the SVN checkout code code turns to MAVEN, it finds that the format is wrong and there are many unnecessary directories.

The checkout code is this:

  

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/778203/201509/778203-20150917124202320-251572302.png "/>

Turn into Maven:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/778203/201509/778203-20150917124339320-157107230.png "/>

After the turn is this (format error):

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/778203/201509/778203-20150917124416508-1138829485.png "/>

It should look something like this:

650) this.width=650; "src=" Http://images2015.cnblogs.com/blog/778203/201509/778203-20150917124439711-1586463226.png "/>

Workaround steps:

1. Check out the code from SVN and go to the workspace where the project is located.

2, in the workspace into the target project directory, in the blank as administrator to open the small black window cmd

3, Input: mvn Eclipse:clean (first clear the project)

4, Input: MVN eclipse:eclipse (This is to turn this project into Eclipse project, this time will find the target project directory is more, the need is this effect)

5. Go back to MyEclipse to refresh the target project, then turn the target project into MAVEN project and update it if necessary.

6, Done!


This article is from "Simple Life" blog, declined reprint!

MyEclipse format error resolution from SVN checkout code to MAVEN

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.