去掉警告 org.apache.catalina.core.StandardContext setPath
2015-11-23 14:25
1686 查看
Nov 22, 2015 2:18:29 PM org.apache.catalina.core.StandardContext setPath
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 []
在tomcat的Server.xml里面,找到context。
如果你的context里面的path属性设置为null 或者 / 请直接删除掉。
原因在下面网页:
https://tomcat.apache.org/tomcat-8.0-doc/changelog.html
摘出来:
57216: Improve handling of invalid context paths. A context path should either be an empty string or start with a
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 []
在tomcat的Server.xml里面,找到context。
如果你的context里面的path属性设置为null 或者 / 请直接删除掉。
原因在下面网页:
https://tomcat.apache.org/tomcat-8.0-doc/changelog.html
摘出来:
57216: Improve handling of invalid context paths. A context path should either be an empty string or start with a
'/'and do not end with a
'/'. Invalid context path are automatically corrected and a warning is logged. The
nulland
"/"values are now correctly changed to
"". (markt/kkolinko)
相关文章推荐
- Apache下rewrite配置
- 如何卸载CentOS自带的apache
- Apache Shiro 关于Shiro 授权
- Apache Maven 入门篇(下)
- Apache Maven 入门篇 ( 上 )
- 聊聊 Apache 开源协议
- Apache配置之设置防盗链
- windows-x64 php5.6+apache2.4+mysql配置
- CentOS 6.5 安装Apache服务器后无法访问解决方法
- eclipse加载maven工程提示pom.xml无法解析org.apache.maven.plugins:maven-resources-plugin:2.4.3解决方案
- 更改Apache默认网站根目录
- 架构设计:系统间通信(14)——RPC实例Apache Thrift 下篇(2)
- LAMP apache配置
- centos6.5安装apache2.x并修改默认80端口
- apache+php+mysql常见集成环境安装包
- 采用Apache Camel的开源系统集成方案与Fuse IDE的使用
- django1.9.1+apache24+mod_wsgi详解(win)
- 在Mac下配置php开发环境:Apache+php+MySql
- Windows系统中如何配置Apache的SSL加密访问
- Apache Stratos探究:核心概念-Cartridge