tomcat8.5完全禁用所有jar扫描,修改conf/context.xml
<Context>
<!-- 完全禁用所有jar扫描,彻底解决Aspose死循环栈溢出 -->
<Loader delegate="true" />
<JarScanner scanClassPath="false" scanAllFiles="false" scanBootstrapClassPath="false" scanManifest="false">
<JarScanFilter
pluggabilityScan="none"
pluggabilitySkip="*"
tldSkip="*"
/>
</JarScanner>
<!-- Default set of monitored resources. If one of these changes, the -->
<!-- web application will be reloaded. -->
<WatchedResource>WEB-INF/web.xml</WatchedResource>
<WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>
<!-- Uncomment this to disable session persistence across Tomcat restarts -->
<!--
<Manager pathname="" />
-->
</Context>

2万+

被折叠的 条评论
为什么被折叠?



