Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

What if Undefined exploded archive location myeclipse can't publish the web project?

2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Editor to share with you what to do if Undefined exploded archive location myeclipse cannot release the web project. I hope you will get something after reading this article. Let's discuss it together.

Reason: in the process of project transfer (when you follow other people's configuration files with the new SVN, right? there is usually only src+web on the svn server, and do not select files such as .project .classpath whether checked out or submitted in the future), resulting in errors in the configuration files of the project.

Solution:

1. In the .mymetadata file under the project directory, webrootdir may be invalid (copy the following to the appropriate location in your .mymetadate file), or the attribute context-root may be missing. Just add this attribute, as shown below:

Context-root= "/ name attribute value above"

two。 Turn off Eclipse, start Eclipse again, and then release the project. The release is successful!

Two: code version

This is the problem of evil MyEclipse. I don't have a .mymetadata file in the project I checkout on SVN. Create this file in the root directory of the project, as follows:

Brother, don't say you can't create a .mymetadata file, brother, I suggest you set up a web project for test and copy this file directly to the project.

Reason:

Open notepad and then click save file name and enter .txt point to save a txt file without a file name, which is mainly because Windows Explorer (Explorer.exe) does not allow users to create files without file names, but in fact, Windows file management allows other methods that do not have file names, such as renaming files with cmd. You can try taskkill / f / t / im explorer.exe And then build it. After reading this article, I believe you have a certain understanding of "what to do if Undefined exploded archive location myeclipse cannot release the web project". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report