com.thoughtworks.xstream.converters.ConversionExce
作者:互联网
JMeter4.0,第一次在CentOS上执行,输入如下命令:
jmeter -n -t mytest.jmx -l 001.jtl
出现如下错误:
Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/fcy/apache-jmeter-4.0/bin/mytest.jmx', missing class com.thoughtworks.xstream.converters.ConversionException:
---- Debugging information ----
cause-exception : com.thoughtworks.xstream.converters.ConversionException
cause-message :
first-jmeter-class : org.apache.jmeter.save.converters.HashTreeConverter.unmarshal(HashTreeConverter.java:67)
class : org.apache.jmeter.save.ScriptWrapper
required-type : org.apache.jorphan.collections.ListedHashTree
converter-type : org.apache.jmeter.save.ScriptWrapperConverter
path : /jmeterTestPlan/hashTree/hashTree/hashTree/kg.apc.jmeter.perfmon.PerfMonCollector
line number : 519
version : 4.0 r1823414
解决方法:
lib\ext下,放入以下三个文件,再次执行以上命令就可以了。
这三个文件在百度网盘里下载即可,或者去官网下载。
标签:hashTree,ConversionExce,xstream,apache,org,jmeter,com,converters 来源: https://blog.51cto.com/11009785/2388883