One Tomcat deploys two Java Web projects

Source: Internet
Author: User

2. Publish as a war package, with the project name right-click Export, select the project name, and the published path, that is, the path under Tomcat, refer to Http://zhidao.baidu.com/link?url= Imou0uux5k-7jkhazslmbq346amyckhkr8mg82-ypebhe493hffwbquq_ik9lefhsesukhoyxwv8birxfv-uxk

3. Need to modify the Web. xml file

If you do not modify the report

Java.lang.IllegalStateException:Web App root system property already set to different value

Solution Reference http://blog.csdn.net/downloadsunlight2009/article/details/7514634

6. TOMCAT7 cannot start in MyEclipse: Error waiting for multi-thread deployment of directories to Completehos

Reference:

Http://blog.csdn.net/zsm653983/article/details/8166386

7.run configurations The arguments in the VM arguments text is appended with the

-xx:maxpermsize=256m

Adjust the memory, the sixth step is useful

One Tomcat deploys two Java Web 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.