首页 > 其他 > 详细

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:02:16      阅读:7389      评论:0      收藏:0      [点我收藏+]

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

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

(4)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!