MyEclipse Web Project imports Eclipse Dynamic Web project, unable to deploy to tomcat issues

Source: Internet
Author: User

There is a small problem with doing your homework and importing MyEclipse Web project into eclipse development. When deploying to Tomcat, it was discovered that the project could not be published.

Problem Analysis:

MyEclipse Web Project is recognized for Java project and cannot be added under Tomcat.

Analyze the modifications and additions to the Web project and Java project configuration files as long as you have Project Name, Source folder, Output folder, Runtime Target, Content folder, A common configuration file can be generated by the Context root.

After backing up the original profile, copy the blank dynamic Web Project's configuration file to the appropriate path, then modify the parameters mentioned above and some additional configurations. You can do this by programming yourself.

Solution:

1, right-click the project-"properties--," project Facets.

2, the Configuration dropdown box is selected <custom> In the project facet, tick the dynamic Web Module, Java, JavaScript check box

(Note Select version of the dynamic Web module.) Simple can be judged as, 2.4 need Tomcat 5.5+,2.5 need Tomcat 6+, specific need to collect again)

3, choose Runtime Target.

4. Click Apply, the project successfully becomes dynamic WEB project

MyEclipse Web Project imports Eclipse Dynamic Web project, unable to deploy to tomcat issues

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.