jmeter Uncaught Exception java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.FileDialoger in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

jmeter  版本5.4.1  java 17  win下

压测接口报错 cmd 窗口提示 Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0x143640d5) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0x143640d5 in thread Thread[AWT-EventQueue-0,6,main]. See log file for details.

修改java 的版本改为  java8-windows 压测通过(应该是jmeter 对java 高版本支持不好)

posted @ 2022-02-28 10:09  hubb  阅读(1770)  评论(0编辑  收藏  举报