码迷,mamicode.com
首页 > 其他好文 > 详细

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 []

时间:2016-12-24 23:04:17      阅读:1327      评论:0      收藏:0      [点我收藏+]

标签:empty   docbase   pat   tom   ada   tar   not   方法   ext   

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 not end with a '/'. The path [/] does not meet these criteria and has been changed to []

标签:empty   docbase   pat   tom   ada   tar   not   方法   ext   

原文地址:http://www.cnblogs.com/zhjh256/p/6218566.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!