為解決Tomcat Ghostcat漏洞,因此將Tomcat升級到8.5.54版本,但在Tomcat啟動後,就會出現大量警告提示無法掃描未引用過的JAR文件,並且該文件系統上不存在該JAR文件,訊息如下方所示:
警告 [localhost-startStop-1] org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:/C:/Tomcat8554/lib/xercesImpl-2.6.0.jar] from classloader hierarchy
解決方式就是關閉所有JAR文件中的MANIFEST.MF掃描。
在conf/context.xml內加入下列的資訊來避開掃描。
<JarScanner scanManifest="false"/>
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment