2.在conf/context.xml中加入这样一段代码
<Resources cachingAllowed="true" cacheMaxSize="100000" />
,都没有解决。。。
下面是console的信息:(想发截图来着,上传不了。。。)
01-Dec-2016 15:54:19.474 WARNING [main] org.apache.tomcat.util.digester.SetPropertiesRule.begin [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:zzdxzf' did not find a matching property.
01-Dec-2016 15:54:19.490 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Server version: Apache Tomcat/9.0.0.M9
...
01-Dec-2016 15:54:19.493 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
01-Dec-2016 15:54:19.495 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=E:\Jtools\tomcat9M4\conf\logging.properties
01-Dec-2016 15:54:19.495 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
01-Dec-2016 15:54:19.495 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=E:\Jtools\tomcat9M4
01-Dec-2016 15:54:19.497 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=E:\Jtools\tomcat9M4
01-Dec-2016 15:54:19.498 INFO [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=E:\Jtools\tomcat9M4\temp
01-Dec-2016 15:54:19.499 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent Loaded APR based Apache Tomcat Native library 1.2.8 using APR version 1.5.2.
01-Dec-2016 15:54:19.500 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true].
01-Dec-2016 15:54:19.501 INFO [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent APR/OpenSSL configuration: useAprConnector [false], useOpenSSL [true]
01-Dec-2016 15:54:20.469 INFO [main] org.apache.catalina.core.AprLifecycleListener.initializeSSL OpenSSL successfully initialized (OpenSSL 1.0.2h 3 May 2016)
01-Dec-2016 15:54:20.642 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8080"]
01-Dec-2016 15:54:20.756 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
01-Dec-2016 15:54:20.762 INFO [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8009"]
01-Dec-2016 15:54:20.766 INFO [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
01-Dec-2016 15:54:20.767 INFO [main] org.apache.catalina.startup.Catalina.load Initialization processed in 1925 ms
01-Dec-2016 15:54:20.795 INFO [main] org.apache.catalina.core.StandardService.startInternal Starting service Catalina
01-Dec-2016 15:54:20.796 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.0.M9
01-Dec-2016 15:54:20.867 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/org.springframework.orm-3.0.5.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
01-Dec-2016 15:54:20.868 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/org.springframework.test-3.0.5.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
01-Dec-2016 15:54:20.870 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/org.springframework.transaction-3.0.5.RELEASE.jar] to the cache because there was insufficient free space available after evicting expired cache entries - consider increasing the maximum size of the cache
01-Dec-2016 15:54:20.872 WARNING [localhost-startStop-1] org.apache.catalina.webresources.Cache.getResource Unable to add the resource at [/WEB-INF/lib/org.springframework.web-
...
01-Dec-2016 15:54:41.390 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler [http-nio-8080]
1 个解决方案
#1
。。自顶一个
#1
。。自顶一个