About the impact of the modification of the name of the MyEclipse project on the import and export of projects

Source: Internet
Author: User

Do not modify the project name, whether it is in the MyEclipse (. project file name will be changed) or in the G:\MyEclipseData directory (the. project file name will not change), otherwise the import can not be accessed, A 400 error will occur, and the URL must be a name that was not previously renamed before you can run the project

Even if you follow the online method, click on the modified name of the project project--properties--myeclipse--web--modify the name of the Web context-root to modify the names of the same name, generated in G:\MyEclipseData The web App in the \.metadata\.me_tcat\webapps directory is still the original name of the Web app (as you can see from the redeploy interface, the last name of the project's locaion is the original), This item cannot be accessed with the new name's URL, but it can still be accessed with the old name.

So do not change the name of the project, or it will be very troublesome, there is no solution.

If you want to change the name, the best thing is to create another Web project, the old project files in the G:\MyEclipseData directory are copied past, and then refresh, and then add a myeclipse--project to the new project Capabilities--add Struts capabilities--is ready to run.

About the impact of the modification of the name of the MyEclipse project on the import and export of projects

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.