MyEclipse Tomcat running

MyEclipse and the eclipse of the server (we often use tomcat) start not the same way,

eclipse to project right-click, then Properties, the project on the specified Server

Myeclipse Right-click on the project's Properties not this one, directly Window == > show view ==> server

Right-click to choose a good Tomcat *. * (Version) ==> Add Deployment, then select the item you want to run on the line

Or directly change the Tomcat server.xml file

In the bottom of the paper <host> tag, add the following sentence:

<Context path="" docBase="D:\workspace\test_ssm\WebRoot"></Context>
DocBase replacement project is to change the attributes can be, if we are not directly run the project in tomcat, it can be annotated with a time and then

Guess you like

Origin blog.csdn.net/qq_41340666/article/details/80990180