1).下载两个jar包:
1. javamelody-core-1.80.0.jar
下载地址: http://mvnrepository.com/artifact/net.bull.javamelody/javamelody-core
2. jrobin-1.5.9.jar
下载地址: https://mvnrepository.com/artifact/org.jrobin/jrobin
2). maven的pom.xml添加依赖:
<dependency>
<groupId>net.bull.javamelody</groupId>
<artifactId>javamelody-core</artifactId>
<version>1.65.0</version>
</dependency>
3). 在web.xml配置monitoring:
<filter>
<filter-name>monitoring</filter-name>
<filter-class>net.bull.javamelody.MonitoringFilte