如果您遇到此错误,请使用“ GeorgeNotFound”的MinecraftShocker插件:jSSC-2.8_x86_64.dll + 0xb5db,如何修复

问题描述

当前,我正在尝试从他的视频(https://youtu.be/rCyJ-TFFxWA)中复制“ GeorgeNotFound”的minecraftShocker插件但我遇到此错误,这意味着找不到Arduino吗?

我已经检查了Arduino Uno已连接到“ COM3”,并且我已经在Arduino上安装了Firmata。

我正在使用Maven添加库。

我将使用的jar从slf4j-log4j12.jar更改为slf4j-jdk14.jar,现在出现了另一个错误

添加了文本以指示其继续出现故障。

使用所有较早的斜体进行编辑,以提高可读性。

我不再使用var df = Seq(("Steve",1),("Steve",0),("Michael",3),2),("Katherine",4),("Devin",0)).toDF("name","score") , 相反,我在slf4j-jdk14.jar删除org.scream3r:jssc:2.8.0的依赖项,并分别分隔了com.github.kurbatov:firmata4j:2.3.8(因此,它现在不再使用2.8.0作为认值,而是使用固定的2.9.2版本;)) 瞧,它在起作用

错误

io.github.java-native:jssc:2.9.2

代码

Connecting...
Connected
#
# A Fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db,pid=9764,tid=1144
#
# JRE version: OpenJDK Runtime Environment (15.0+36) (build 15+36-1562)
# Java VM: OpenJDK 64-Bit Server VM (15+36-1562,mixed mode,sharing,tiered,compressed oops,g1 gc,windows-amd64)
# Problematic frame:
# C  [jSSC-2.8_x86_64.dll+0xb5db]
#
# No core dump will be written. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\Users\Lucky 56\IdeaProjects\Shocker\hs_err_pid9764.log
#
# If you would like to submit a bug report,please visit:
#   https://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

Process finished with exit code 1

解决方法

我不再使用slf4j-jdk14.jar, 相反,我在org.scream3r:jssc:2.8.0中删除了com.github.kurbatov:firmata4j:2.3.8的依赖项,并分别分隔了io.github.java-native:jssc:2.9.2(因此,它现在不再使用2.8.0作为默认值,而是使用固定的2.9.2版本;)) 瞧,它在起作用