错误:ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
环境:eclipse中调试时候
错误的操作:没有设置断点,这个问题是因为debug超时导致的,可以在main方法里面最后追加System.exit(0);来解决这个问题。
错误:ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/util.c:820]
环境:eclipse中调试时候
错误的操作:没有设置断点,这个问题是因为debug超时导致的,可以在main方法里面最后追加System.exit(0);来解决这个问题。