tomcat 7 WARNING: A context path must either be an empty string or start with a '/' and do n

Posted 太白的技术博客

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了tomcat 7 WARNING: A context path must either be an empty string or start with a '/' and do n相关的知识,希望对你有一定的参考价值。

tomcat 7 WARNING: A context path must either be an empty string or start with a ‘/‘ and do not end with a ‘/‘. The path [/] does not meet these criteria and has been changed to []

解决方法:

将server.xml中的<Context docBase="../deploy" path="/" reloadable="true"/>改为<Context docBase="../deploy" path="" reloadable="true"/>即可。

以上是关于tomcat 7 WARNING: A context path must either be an empty string or start with a '/' and do n的主要内容,如果未能解决你的问题,请参考以下文章

ubuntu下IDEA配置tomcat报错Warning the selected directory is not a valid tomcat home

在 Spring+Tomcat 上使用 JSF 2.2.9 会导致 java.lang.NoClassDefFoundError: javax/enterprise/context/spi/Conte

解决 Tomcat reload WARNING [localhost-startStop-2] org.apache.catalina.loader.WebappClassLoaderBase.cl

python2.7运行出现的Warning: UnicodeWarning: Unicode equal comparison failed to convert both arguments to

tomcat日志警告WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'deb

php 7.1 特性 ArgumentCountError 异常