简体   繁体   English

使用Eclipse调试xslt时出现JVM错误

[英]JVM error when debugging xslt with Eclipse

I am trying to debug an xslt 2.0 with Eclipse which worked fine previously. 我试图用以前运行良好的Eclipse调试xslt 2.0。 Now I guess I messed things up with a new Eclipse or java version because when I right click on my xslt and choose 'Debug as xslt transformation' , after confirming 'the JRE instance default XSLT processor does not support debugging. 现在我想我弄乱了新的Eclipse或Java版本,因为当我右键单击我的xslt并选择“调试为xslt转换”时 ,在确认“ JRE实例默认XSLT处理器不支持调试”之后。 Would you like to debug using the default Xalan 2.71 processor instead?' 您想使用默认的Xalan 2.71处理器进行调试吗?

I get an error dialog: 我收到一个错误对话框:

Error: could not create the java virtual machine. 错误:无法创建Java虚拟机。 Error: a fatal exception has occured. 错误:发生致命异常。 Program will exit. 程序将会退出。 Cannot connect to VM com.sun.jdi.connect.TransportTimeoutException 无法连接到VM ​​com.sun.jdi.connect.TransportTimeoutException

In the console it shows: -Djava.endorsed.dirs=D:\\Users\\Michael\\eclipse-workspace.metadata.plugins\\org.eclipse.wst.xsl.jaxp.launching\\endorsed is not supported. 在控制台中,它显示:-不支持-Djava.endorsed.dirs = D:\\ Users \\ Michael \\ eclipse-workspace.metadata.plugins \\ org.eclipse.wst.xsl.jaxp.launching \\ endorsed。 Endorsed standards and standalone APIs in modular form will be supported via the concept of upgradeable modules. 可升级模块的概念将支持认可的标准和模块化形式的独立API。

I've tried reinstalling Eclipse & reinstalling Java . 我尝试过重新安装Eclipse和重新安装Java。 Setting my system variable JAVA_HOME to C:\\Program Files\\Java\\jdk-11.0.1\\bin. 将我的系统变量JAVA_HOME设置为C:\\ Program Files \\ Java \\ jdk-11.0.1 \\ bin。 (Environment variable is: %JAVA_HOME%\\bin) (环境变量是:%JAVA_HOME%\\ bin)

This is a bug. 这是一个错误。 You'll need to report it . 您需要报告它 Setting the default version of Java on your machine to Java 8 or older might work around it. 在您的计算机上将Java的默认版本设置为Java 8或更早版本可能会解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM