编译正常通过,运行debug模式时报错
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
请检查项目的jdk版本。是否是因为版本过低。
其它参考:https://blog.csdn.net/gongli109/article/details/51279966