请教下 tomcat 里面配置jacoco , 那个catalina 文件怎么配置?
如下这句话配置在哪?
set JAVA_OPTS="-javaagent:%CATALINA_BASE%\lib\jacocoagent.jar=includes=*,output=tcpserver,port=6300,address=127.0.0.1"
我如上配置了 catalina.bat 文件,但怎么配置 tomcat 都启动不了。 关键还不给报错。 但是启动窗口一闪而过,请教这是啥问题? 启动tomcat,控制台输出: - C:\Users\Administrator>D:\Apps\apache-tomcat-9.0.13\bin\startup.bat
- Using CATALINA_BASE: "D:\Apps\apache-tomcat-9.0.13"
- Using CATALINA_HOME: "D:\Apps\apache-tomcat-9.0.13"
- Using CATALINA_TMPDIR: "D:\Apps\apache-tomcat-9.0.13\temp"
- Using JRE_HOME: "D:\Apps\Java\jdk1.8.0_191"
- Using CLASSPATH: "D:\Apps\apache-tomcat-9.0.13\bin\bootstrap.jar;D:\Apps\apache-tomcat-9.0.13\bin\tomcat-juli.jar"C:\Users\Administrator>
复制代码
|