Eclipse modifies server.xml each time run the project (Run-->Run on Server)

后端 未结 7 1630
走了就别回头了
走了就别回头了 2021-02-04 05:04

I\'m using Tomcat 7 on Eclipse Juno. I use workspace metadata as server location (Please see my tomcat configurations below).

7条回答
  •  Happy的楠姐
    2021-02-04 05:55

    On Eclipse, double click on Server to view properties.
    check "publish module contexts to separate XML files", and save it. Run Tomcat server. Eclipse will be create conf/[enginename]/[hostname]/[appname].xml without touching server.xml

提交回复
热议问题