我有一个在1/2年前运行的applet。现在我需要'重新激活'它然而由于一个未知的原因它不再工作了。以下是规格:
这是我得到的错误:
MissingFieldException[ The following required field is missing from the launch file: <jnlp>]
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._buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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$200(Unknown Source)
at sun.plugin2.main.client.PluginMain$2.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Error while initializing manager: MissingFieldException[ The following required field is missing from the launch file: <jnlp>], bail out
到目前为止我尝试/怀疑的内容:
有什么想法吗?
答案 0 :(得分:2)
在几乎花了两天时间解决这个问题后,我发现了它,希望能帮助其他人。解释:
<jnlp>
结构,但找不到任何结构 - 因此产生了上述错误。那怎样才能防止这种情况?
<Context path="/" cookies="true" useHttpOnly="false"/>
现在为什么IE10似乎忽略了httponly标志是一个我可以忍受的开放性问题; - )