What does this error mean in debugging in Eclipse?

When I try to debug this error, it is reported:

ERROR: JDWP Failed 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 ]

+4
source share
3 answers

Put System.exit (0); like the last main () statement.

+6
source

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6476706

His famous mistake. This error contains a list of possible workarounds for your problem.

+4
source

If you have such an error, the TypeSystemHolder.class class created by WSDL2Java does not fit into your classpath to avoid this error.

Copy TypeSystemHolder.class from the folder "resource / schemaorg_apache_xmlbeans / system / s68C41DB812F52C975439BA10FE4FEE54".

And paste the TypeSystemHolder.class file into the folder of your path directory (build / classes / schemaorg_apache_xmlbeans / system / s68C41DB812F52C975439BA10FE4FEE54)

-1
source

All Articles