The MAVEN project appears specified Web-root folder does not exist error. __web

Source: Internet
Author: User


The deployment came up with this problem that everyone might have.







And then a lot of people are doing this to modify the path, but it's not actually modified.

The present here is that we have modified the catalogue. Then we are very relieved to click OK to think just fine. But there is no.

You point to open the project-> properties->myeclipse-> The Web renders the previous path, so this web-root path has not changed.

I've also found a lot of resources on the Internet, but it's not going to work. There are some suggestions that are not helpful, and it's obvious that the reason that this problem has been binding is definitely related to a configuration file in the work environment.

If you do not find that profile, you do not have a fundamental problem to solve:


Locate the Org.eclipse.wst.common.component file in the. settings file under the current project (under your current project under the workspace)

The original should have a configured Source-path value is target/m2e-wtp/web-resources.

You change its value to the path you want. Then save and return to the myclipse for a refresh operation.

Remember: Do not use Maven's updateconfiguration, if the operation of the configuration file will return to the original configuration, do not believe you try.


5. Then you can refresh and then open it. This is the time to solve your problem.



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.