首先双击我们集成好的Tomcat服务器
修改Server Locations选项
Specify the server path (i.e. catalina.base) and deploy path. Server must be published with no modules present to make changes.
默认选项为:
Use workspace metadata(dose not modify Tomcat installation)
修改选项为:
Use Tomcat installation(takes control of Tomcat installation)
注意:Server Locations修改后会变灰,如果需要更改设置,则需要移除与Tomcat服务器关联的项目,同时,鼠标右键菜单Clean清除Tomcat服务器的状态就可以修改了。