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

后端 未结 7 1537
走了就别回头了
走了就别回头了 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 06:07

    I found an applicable solution but not a perfect one.

    What I have done is;

    1.Changed server.xml file in installation location (In my case C:\apache-tomcat-7.0.35\conf)

    2.Remove tomcat server from eclipse server panel (please see the image below)

    3.Create a new server in eclipse server panel.

    4.Then Server project will be generated new server.xml with my customized changes.

    5.The trick is, initially eclipse picks server.xml from installation location when create a new server in panel.

    Thanks

    eclipse server panel

    0 讨论(0)
提交回复
热议问题