Tomcat启动报错整理

时间:2022-05-05 16:02:41

1、启动报

    Connector attribute SSLCertificateFile must be defined when using SSL with APR

      conf\server.xml下的

      <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"
           maxThreads="150" scheme="https" secure="true"
           lientAuth="false" sslProtocol="TLS"
           keystoreFile="F:\Service\key\tomcat.keystore"
           keystorePass="tomcat"
          ciphers="tomcat"/>

      修改为

      <Connector port="8443" protocol="org.apache.coyote.http11.Http11Protocol" SSLEnabled="true"
           enableLookups="false"
           acceptCount="100" disableUploadTimeout="true"
           maxThreads="150" scheme="https" secure="true"
           clientAuth="false" sslProtocol="TLS"
           keystoreFile="F:\Service\key\tomcat.keystore"
           keystorePass="tomcat" />

      OK,解决了