NetBeans HTTP Monitor 报错的问题
安装了Netbeans以后,启动Tomcat老是会报WARNING *********** NetBeans HTTP Monitor ************ 这样的错误。?
原来是在Tomcat的web.xml中添加了一个filter,注释掉就可以了。?
记住以后用Netbeans的Http Monitor的时候要放开?
? <filter>?
??? <filter-name>HTTPMonitorFilter</filter-name>?
??? <filter-class>org.netbeans.modules.web.monitor.server.MonitorFilter</filter-class>?
??? <init-param>?
????? <param-name>netbeans.monitor.ide</param-name>?
????? <param-value>localhost:8086</param-value>?
??? </init-param>?
? </filter>?
? <filter-mapping>?
??? <filter-name>HTTPMonitorFilter</filter-name>?
??? <url-pattern>/*</url-pattern>?
??? <dispatcher>REQUEST</dispatcher>?
??? <dispatcher>FORWARD</dispatcher>?
??? <dispatcher>INCLUDE</dispatcher>?
??? <dispatcher>ERROR</dispatcher>?
? </filter-mapping>?