我暗示對tomcat服務器進行基本身份驗證,並配置爲使用ssl加密。然後我的雄貓不起動顯示以下錯誤Tomcat錯誤:元素類型「連接器」後面必須跟有屬性規範,「>」或「/>」
Could not load the Tomcat server configuration at /Servers/Tomcat v7.0 Server at localhost-config. The configuration may be corrupt or incomplete. Element type "Connector" must be followed by either attribute specifications, ">" or "/>".
任何幫助嗎?
<連接器協議= 「org.apache.coyote.http11.Http11NioProtocol」 端口= 「8443」 SSLEnabled = 「真」 maxThreads = 「500」 方案= 「HTTPS」 安全= 「真」 keystoreFile =「/ home/owner/Documents/keystore.jks「 keystorePass =」entwine「clientAuth =」false「 sslProtocol =」TLS「/> – chetan
我在server.xml中找不到任何語法錯誤..我將我的server.xml文件與從新的tomcat另一個新的server.xml .. – chetan
您發佈的XML片段是好的。也許文件中有更多的連接器元素?嘗試在IE或Firefox中打開Server.xml,它會報告是否有語法錯誤。 – gsl