运行Jmeter

时间:2019-07-03 11:06:08

标签: jmeter jmeter-plugins jmeter-5.0

启动jmeter并传递URL会收到异常错误

2019-07-03 16:35:34,063错误o.a.j.JMeter:未捕获的异常: java.lang.NoClassDefFoundError:无法初始化类org.apache.jmeter.save.SaveService     在org.apache.jmeter.gui.action.Save.backupAndSave(Save.java:261)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.Save.doAction(Save.java:175)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.ActionRouter.doActionNow(ActionRouter.java:125)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.AbstractAction.popupShouldSave(AbstractAction.java:80)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.Start.doAction(Start.java:113)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.ActionRouter.performAction(ActionRouter.java:88)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在org.apache.jmeter.gui.action.ActionRouter.lambda $ actionPerformed $ 0(ActionRouter.java:70)〜[ApacheJMeter_core.jar:5.1.1 r1855137]     在java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)〜[?:1.8.0_212]     在java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)〜[?:1.8.0_212]     在java.awt.EventQueue.access $ 500(EventQueue.java:97)〜[?:1.8.0_212]     在java.awt.EventQueue $ 3.run(EventQueue.java:709)〜[?:1.8.0_212]     在java.awt.EventQueue $ 3.run(EventQueue.java:703)〜[?:1.8.0_212]     在java.security.AccessController.doPrivileged(本机方法)〜[?:1.8.0_212]     在java.security.ProtectionDomain $ JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)〜[?:1.8.0_212]     在java.awt.EventQueue.dispatchEvent(EventQueue.java:728)〜[?:1.8.0_212]     在java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)[?:1.8.0_212]     在java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)[?:1.8.0_212]     在java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)[?:1.8.0_212]     在java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)[?:1.8.0_212]     在java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)[?:1.8.0_212]     在java.awt.EventDispatchThread.run(EventDispatchThread.java:82)[?:1.8.0_212]

1 个答案:

答案 0 :(得分:0)

通常,当不存在从属jar时,或者如果存在具有不同实现的冲突jar时,通常会发生这种情况。 尝试下载新副本或检查所有jar都只有1个版本jmeter / lib和jmeter / lib / ext

希望这会有所帮助。