这样的配置<Host>
<Context path="/tom" docBase="F:\workspace\web\WebRoot" 
debug="1" reloadable="true" crossContext="true">
</Context>
</Host>
启动时给了这样一个警告:
警告: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'debug' to '1' did not find a matching property.虽然还是能正常工作,但警告看得不爽,
应该怎么该呢?

解决方案 »

  1.   

    把 debug="1" 删了试试呗 
      

  2.   

    debug="1"  啥意思啊,应该没这个对应的属性值吧,我想应该是true or  false
      

  3.   

    debug没有定义,楼主去掉试试,不行就换成0
      

  4.   

    <Context path="/n" docBase="F:\workspace\web\WebRoot" debug="1" reloadable="true" crossContext="false">    
    把debug="1"去除即可。tomcat的6.0.16这个版本中可能用别的属性替代了debug功能。