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

后端 未结 7 1614
走了就别回头了
走了就别回头了 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条回答
  •  自闭症患者
    2021-02-04 05:56

    In {workspace}/Servers you will find a folder for every Tomcat configuration, containing several configuration files, including the server.xml. There you then can edit the file directly.

    To get changes taken into account restart Eclipse. That is imho better than removing and adding the configuration back all the time. Tested using Eclipse Mars and Tomcat 7.

    (the solution is from: Eclipse with tomcat - eclipse modifies server.xml)

提交回复
热议问题