Eclipse EE 发布项目导致 Tomcate 的配置文件 server.xml 还原

在server.xml中配置SSL时,发现了每次发布项目都导致server.xml被还原了:

    <Connector port="8443" protocol="org.apache.coyote.http11.Http11NioProtocol"
               maxThreads="150" SSLEnabled="true" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" 
			   keystoreFile="D:localhost.keystore" keystorePass="xxxxx"/>

 每次修改的配置,都被还原了。

解决办法:

1)

2)

去掉 自动发布 即可。

原文地址:https://www.cnblogs.com/digdeep/p/4551196.html