Deploy tomcat to myeclipse in Windows

Source: Internet
Author: User

On the Windows platform, deploy tomcat to myeclipse:

1: Open myeclipse and select the menu window, as shown in the figure below:

 

2. select preferences. A pop-up box is displayed. enter tomcat in the upper-right corner, and then filter out tomcat-related 4. select the tomcat to be deployed. For example, if my tomcat version is Tomcat 7, select Tomcat 7.xand select the path of your tomcat in Tomcat home directory: browse, after the selection is complete, other Tomcat base directory and tomcat temp directory will be automatically added! Select the selected path. The last step is to enable it and select enable! The result is as follows: Select OK or apply, 5, and then open the server in myeclipse. The shortcut key is Alt + Shift + Q, and then a pop-up box is displayed: 6 Input in Type Filter text: server, then filter out a server, select this server, and click OK. A server dialog box is displayed, indicating that Tomcat 7 is displayed, in myeclipse8.5 comes with a my eclipse tomcat, This Is The apache-tomcat6 and then select tomcat7, right-click 8 there is a run server, so we can start our tomcat, there is a debug server, this is for debugging. After starting tomcat, you can enter the following in the browser:
Http: // 127.0.0.1: 8080 so that an interface is displayed: If the interface appears, it indicates that your Tomcat startup is successful!
Add deployment: deploy the javaee project in Tomcat. Select the project you want to deploy in the project. Only javaee projects can be deployed here! Click OK! After the selection is complete, Tomcat will automatically compile your project, and enter your project name after http: // 127.0.0.1: 8080! For example, if our project is myjavaee, enter http: // 127.0.0.1: 8080/myjavaee to view our project! Now let's explain how Tomcat is deployed on myeclipse. Note: Tomcat may fail to be started due to the following situation: Port occupation (1. tomcat port 8080 by default. JDK is not installed in Port 2 ....) if you have any questions about Tomcat deployment or project deployment, contact me
Email: vipa1888@163.com
QQ: 840950105

 

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.