我在尝试启动小程序时在Java控制台中看到以下错误。我们正在Apache 2.2和WebSphere应用程序服务器7.0.0.27上运行。有任何指示吗?

JNLParseException[ Could not parse launch file. Error at line 26.]
    at com.sun.javaws.jnl.XMLFormat.throwNewException(Unknown Source)
    at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptorFromCache(Unknown Source)
    at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptorFromCache(Unknown Source)
    at sun.plugin2.applet.JNLP2Manager.initialize(Unknown Source)
    at sun.plugin2.main.client.PluginMain.initManager(Unknown Source)
    at sun.plugin2.main.client.PluginMain.access$300(Unknown Source)
    at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Error while initializing manager: JNLParseException[ Could not parse launch file. Error at line 26.], bail out

最佳答案

有一个简洁的工具可以检查jnlp错误:JaNeLA(在我的share drive上可用)。

关于java - JNLP解析异常,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/21263030/

10-13 09:20