最近开始自学接触,但是在跑接口的时候发现报错了(接口使用已经跑通过,在自查一通以后终于发现原因)
先上错误提示:我们主要先看error,可以看到ERROR o.a.j.:in[AWT--0,6,main],接着往下看可以看到等相关字段 。直接把dark皮肤换了就可以解决了,见下图:
【jmeter使用报错ERROR o.a.j】2021-10-13 20:27:42,010 INFO o.j.r.PluginManager: Plugins Status: [jpgc-plugins-manager=1.6, jmeter-core=5.4.1, jmeter-ftp=5.4.1, jmeter-http=5.4.1, jmeter-jdbc=5.4.1, jmeter-jms=5.4.1, jmeter-junit=5.4.1, jmeter-java=5.4.1, jmeter-ldap=5.4.1, jmeter-mail=5.4.1, jmeter-mongodb=5.4.1, jmeter-native=5.4.1, jmeter-tcp=5.4.1, jmeter-components=5.4.1]2021-10-13 20:27:54,241 INFO o.a.j.s.FileServer: Default base='/Users/kidd'2021-10-13 20:27:54,243 INFO o.a.j.g.a.Load: Loading file: /Users/kidd/jmetertesting_file/View Results Tree.jmx2021-10-13 20:27:54,244 INFO o.a.j.s.FileServer: Set new base='/Users/kidd/jmetertesting_file'2021-10-13 20:27:54,383 INFO o.a.j.s.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.22021-10-13 20:27:54,391 INFO o.a.j.s.SaveService: Using SaveService properties version 5.02021-10-13 20:27:54,392 INFO o.a.j.s.SaveService: Using SaveService properties file encoding UTF-82021-10-13 20:27:54,394 INFO o.a.j.s.SaveService: Loading file: /Users/kidd/jmetertesting_file/View Results Tree.jmx2021-10-13 20:27:54,511 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/html is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser2021-10-13 20:27:54,511 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xhtml+xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser2021-10-13 20:27:54,511 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for application/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser2021-10-13 20:27:54,511 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/xml is org.apache.jmeter.protocol.http.parser.LagartoBasedHtmlParser2021-10-13 20:27:54,511 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser2021-10-13 20:27:54,511 INFO o.a.j.p.h.s.HTTPSamplerBase: Parser for text/css is org.apache.jmeter.protocol.http.parser.CssParser2021-10-13 20:27:54,640 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times2021-10-13 20:27:54,640 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-12021-10-13 20:27:54,641 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true2021-10-13 20:27:54,641 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=50002021-10-13 20:27:54,763 INFO o.a.j.v.ViewResultsFullVisualizer: Add JavaFX to your Java installation if you want to use renderer: org.apache.jmeter.visualizers.RenderInBrowser2021-10-13 20:27:54,844 INFO o.a.j.s.FileServer: Set new base='/Users/kidd/jmetertesting_file'2021-10-13 20:27:54,894 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0x4c40b76e) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0x4c40b76eat com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel.updateColumnInfo(DarkFilePaneUIBridge.java:1128) ~[darklaf-core-2.5.4.jar:2.5.4]at com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel.
- SpringBoot 2 使用 SpringCloud Netflix Eure
- owllook在线小说搜索引擎使用指南
- EVE-NG使用教程
- 使用WIF实现单点登录Part II —— Windows Identity F
- 葡萄的催熟剂,有哪些使用方法?
- 使用socket通道和多线程创建多人对话聊天室
- Streamlit应用程序使用Streamlit
- A星算法代码
- ZYNQ:MIO、EMIO、IO的区别和灵活使用
- 使用Samba实现文件共享:Windows和Linux之间