javamelody Unexpected html content type,maybe not authentified
javamelody 添加应用一直报错, Unexpected html content type,maybe not authentified 看字面意思应该是请求受到了拦截,所以无法添加。修改如下:
<!-- 监控过滤器要放到web.xml中所有过滤器的最顶部 -->
<filter>
<filter-name>monitoring</filter-name>
<filter-class>net.bull.javamelody.MonitoringFilter</filter-class>
<init-param>
<param-name>log</param-name>
<param-value>true</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>monitoring</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>net.bull.javamelody.SessionListener</listener-class>
</listener>
页:
[1]