Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Com.thoughtworks.xstream.converters.ConversionExce

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

JMeter 4.0, executed for the first time on CentOS, enters the following command:

jmeter -n -t mytest.jmx -l 001.jtl

The following error occurred:

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

Solution:

lib\ext, put the following three files, and execute the above command again.

These three files can be downloaded from Baidu's network disk, or downloaded from the official website.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report