如题,本地没有问题,能启动,上了服务器,一启动,就会报上面的错。我换了一个正在用的tomcat就能正常启动。。。删掉这个tomcat在重新再装一个同名的就不行
`WARNING: Unknown version string [3.1]. Default version will be used.
Nov 20, 2019 4:42:30 PM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
log4j:WARN No appenders could be found for logger (com.olymtech.cache.impl.DefaultCacheImpl).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log... for more info.
memcached is ready!
Nov 20, 2019 4:42:32 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: One or more listeners failed to start. Full details will be found in the appropriate container log file
Nov 20, 2019 4:42:32 PM org.apache.catalina.core.StandardContext startInternal
SEVERE: Context [/service-portal-rest] startup failed due to previous errors
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-1-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-4-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-2-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-3-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [MultiThreadedHttpConnectionManager cleanup] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-5-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [Thread-4] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-7-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.loader.WebappClassLoaderBase clearReferencesThreads
SEVERE: The web application [/service-portal-rest] appears to have started a thread named [pool-6-thread-1] but has failed to stop it. This is very likely to create a memory leak.
Nov 20, 2019 4:42:32 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deployment of web application archive /usr/local/tomcat/tomcat-service-portal-rest/webapps/service-portal-rest.war has finished in 7,248 ms
Nov 20, 2019 4:42:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["http-bio-8380"]
Nov 20, 2019 4:42:32 PM org.apache.coyote.AbstractProtocol start
INFO: Starting ProtocolHandler ["ajp-bio-8309"]
Nov 20, 2019 4:42:32 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 7357 ms
`
JDK / Tomcat / web.xml 三者版本不匹配。
匹配关系看这:https://blog.csdn.net/flyings...