【发布时间】:2019-05-26 08:38:38
【问题描述】:
我已经或多或少地根据这个通过Java Web Start开发了一个应用程序:How do I fix "missing Codebase, Permissions, and Application-Name manifest attribute" in my JNLP app?我已经用manifest.txt等打包了jar。但是通过这种方式我已经解决了缺少属性的问题,现在我有了其他问题始终显示此消息!我检查了“不再显示”,每次按下按钮执行时总是显示! 我
这是我的清单文件:
清单版本:1.0 类路径:. 主类:com.zkteco.biometric.AccesoBiometrioAS2 权限:所有权限 代码库:http://192.168.111.25:8180/pos-web/ 应用程序名称:生物识别
还有我的 Jnlp 文件:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://192.168.111.25:8180/pos-web/">
<information> <title>CajaPos</title> <vendor>xxx</vendor>
</information>
<security><all-permissions/>
</security>
<resources>
<j2se version="1.2+"/>
<jar href="xx.jar"
main="true" />
</resources
<application-desc main-class="ec.com.xx.pos" type="JavaFX">
<argument>XY</argument>
</application-desc>
</jnlp>
在此页面中检查后对话框不再显示并且工作正常。 https://docs.oracle.com/javase/tutorial/deployment/webstart/deploying.html
每个请求的 XY 都会发生变化,因为我使用 servlet 以动态方式生成 jnlp-xml。
【问题讨论】:
标签: java-web-start