题目中这个错误导致我保存jmx文件失败,一直提示测试条目未保存,原因就是jdk安装版本较高,我目前安装的是17.0.2
Uncaught Exception java.lang.IllegalAccessError: class com.github.weisj.darklaf.ui.filechooser.DarkFilePaneUIBridge$DetailsTableModel (in unnamed module @0xf2f2cc1) cannot access class sun.awt.shell.ShellFolder (in module java.desktop) because module java.desktop does not export sun.awt.shell to unnamed module @0xf2f2cc1 in thread Thread[AWT-EventQueue-0,6,main]、See log file for details.
解决方法 如图找到jmeter.bat文件,用记事本打开大约110行左右的位置,添加红框内容,即:--add-opens java.desktop/sun.awt.shell=ALL-UNNAMED 即可解决。