在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)

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

2)

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

去掉 自动发布 即可。

相关文章:

  • 2022-01-01
  • 2022-01-19
  • 2022-02-02
  • 2021-09-27
  • 2022-12-23
  • 2022-12-23
  • 2021-10-19
猜你喜欢
  • 2021-08-08
  • 2021-08-02
  • 2021-08-15
  • 2021-06-11
  • 2021-07-20
  • 2022-12-23
  • 2021-12-25
相关资源
相似解决方案