error:JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
报错原因:上次启动调试的代码有错误,导致进程没有终止,占用了Console输出,所以在之后又启动调试的时候才会出现此错误
解决方案:http://blog.csdn.net/zxl0016/article/details/7327125
http://blog.csdn.net/mmllkkjj/article/details/6149043
其它方法都不方便,就System.exit(0);最容易了,拿来试试吧。
但正如参考文章中说的,System.exit(0);会使程序立即被终止了,而程序中如果有线程还在执行任务,则后续的任务也就无法继续执行了。
详细解决方案
error:JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2
热度:3 发布时间:2023-12-24 13:45:18.0
相关解决方案
- org.apache.jasper.JasperException: Unable to compile class for JSP:该怎么解决
- java报错Syntax error on token "return" invalid Type解决方案
- The server encountered an internal error () that prevented it from fulfilling th解决方案
- org.apache.jasper.JasperException: Unable to compile class for JSP:解决思路
- struts2的Action怎么返回指定路径的jsp或html,而不是返回SUCCESS、ERROR
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- Unable to load class for JSP,该如何处理
- JSP向SQL数据库中写下数据时提示:Network error IOException: Connection refused: connect
- struts2.3.4.1启动抛错误 Unable to load configuration
- Error creating bean with name 'sessionFactory' defined in ServletContext resourc解决方法
- servlet+jquery1.4.2(ajax error?)解决方案
- Parse error in application web.xml,该如何解决
- java itext导出报Connection reset by peer: socket write error,该怎么处理
- Error reading resource: com/user/User.hbm.xml,该怎么解决
- servlet 的 doGet() 中 return,网页往哪里
- cas客户端有关问题(unable to find valid certification path to requested target)
- fatal error; call to a member function query() on a non-object异常求回答啊 php+sqlite
- Error creating bean with name 'sessionFactory' defined in class path resource解决方法
- 大家帮帮忙呀The server encountered an internal error () that prevented it解决方法
- :Unable to intantiate Action
- Unable to compile class for JSP找不出异常
- 【100分】怎么监控多台服务器的log,alert,error
- SOS-(奇怪现象)服务器暂不可用500 internal server error,该怎么解决
- tomcat没法运行Could not publish to the server. Error while expanding
- JSF中javax.faces.el.PropertyNotFoundException: Error getting property的有关问题
- Syntax error on token "{" { expected after this token,该怎么解决
- WEBstruts The server encountered an internal error () that prevented it fr解决思路
- 'Update Progress' has encountered a problem An internal error has occurred解决方案
- object error!
- ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error,该如何解决