Eclipse Downloads Open source project maven dependencies lost and Deployment Assembly lost

Source: Internet
Author: User

Weekend download of the latest JEECG source to see, but the download found that the pom file defined dependencies are lost.

Such as

Search the Internet for a while, found the need to first give this project disable MAVEN nature

Then add MAVEN support to this project.

Such as:

Then review the dependencies of the project, such as

But found unable to deploy Tomcat, carefully look less Deployment Assembly

On-line search again, discover the need to modify the Dynamic Web module of Project Facets

Later on the Internet search, said can directly change the configuration file, you can appear deployment Assembly

All right, I'll change it. The config file has a file called Org.eclipse.wst.common.project.facet.core.xml in the project's Xxxx\.settings directory.

Such as

After saving, the Facets Dynamic Web module in the project was turned into 3.0 but the long-awaited Deployment Assembly still did not appear

Such as:

Later, I put the Org.eclipse.wst.common.project.facet.core.xml file inside the

<installed facet= "Jst.web" version= "3.0"/>

Delete. Such as

After saving. To add a Dynamic Web module again

And then you will find that the long-lost Deployment Assembly magically appeared.

Then, you can deploy the project to Tomcat normally.

Then start Tomcat and you will find that the boot failed.

Check the project's Lib package and find inside a jar all wood has.

Now click on Project-"Properties-" Deployment Assembly add maven dependent jar Package

Now, there's something in Lib in the project.

The project was successfully started.

Eclipse Downloads Open source project maven dependencies lost and Deployment Assembly lost

Related Article

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.