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

去掉 自动发布 即可。
                    
                

                
            
        
浙公网安备 33010602011771号