- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我有一个使用 Netbean IDE 开发的 java 应用程序,需要从 javaws 启动,当我尝试下载并运行该应用程序时,出现以下错误,
*JNLP1*
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp href="http://192.168.1.200/ofmex/launch.jnlp" spec="1.0+">
<information>
<title>Basic Application Example</title>
<vendor>Sun Microsystems Inc.</vendor>
<homepage href="http://192.168.1.200/ofmex"/>
<description>A simple java desktop application based on Swing Application Framework</description>
<description kind="short">Basic Application Example</description>
<icon href="http://192.168.1.200/ofmex/MnuIcon.gif" kind="default"/>
</information>
<update check="background"/>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.6+"/>
<jar href="http://192.168.1.200/ofmex/OFMEX_MANUFACTURING.jar" main="true"/>
<jar href="http://192.168.1.200/ofmex/lib/AbsoluteLayout.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/activation.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/ant-1.7.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/antlr-2.7.5.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/antlr-2.7.6.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/appframework-1.0.3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/asm-attrs.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/asm.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/barbecue-1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/barbecue-1.5-beta1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/barcode4j-2.0.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-anim.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-awt-util.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-bridge.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-css.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-dom.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-ext.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-gvt.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-parser.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-script.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-svg-dom.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-svggen.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-util.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/batik-xml.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/bcel-5.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/boot.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/bsh-2.0b4.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/castor-1.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/cglib-2.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/cincom-jr-xmla.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport-addons.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport-components.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport-designer-standalone.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport-heartbeat.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport-jasperserver.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport-samples.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-ireport.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/com-jaspersoft-jrx.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-beanutils-1.8.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-collections-2.1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-collections-3.2.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-dbcp-1.2.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-digester-1.7.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-javaflow-20060411.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-logging-1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-logging-api-1.0.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-math-1.0.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-net-1.4.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-pool-1.3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/commons-vfs-1.0.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core-renderer.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_de.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_es.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_fr.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_ireport.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_it.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_ja.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_de.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_es.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_it.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_ja.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_pt_BR.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_zh_CN.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_nb_zh_TW.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_pl.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_pt_BR.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_sq.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_zh_CN.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/core_zh_TW.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/DateChooser.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/ddl.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/dom4j-1.6.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/ehcache-1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/eigenbase-properties-1.1.0.10924.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/eigenbase-properties.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/eigenbase-resgen-1.3.0.11873.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/eigenbase-resgen.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/eigenbase-xom-1.3.0.11999.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/eigenbase-xom.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/ejb3-persistence.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/flexdock-0.4.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/groovy-all-1.5.5.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/hibernate-annotations.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/hibernate-commons-annotations.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/hibernate3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/hsqldb-1.7.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/hsqldb-1.8.0-10.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/iReport.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/iText-2.1.7.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/iTextAsian.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jakarta-bcel-20050813.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jakarta-oro-2.0.8.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/JasperBabylon-1.0.0.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jasperreports-3.7.4.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jasperreports-applet-3.7.4.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jasperreports-chart-themes-3.7.3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jasperreports-extensions-3.5.3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jasperreports-fonts-3.7.4.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jasperreports-javaflow-3.7.4.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/javacup.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/javassist-3.4.GA.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jaxb-api.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jaxb-impl.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jaxb-xjc.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jaxen-1.1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jcmdline-1.0.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jcommon-1.0.0.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jcommon-1.0.15.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jdt-compiler-3.1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jfreechart-1.0.12.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jh-2.0_05.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jna-3.0.9.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jpa.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_activation-1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_axis-1.4patched.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_commons-codec-1.3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_commons-discovery-0.2.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_commons-httpclient-3.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_jasperserver-common-ws-3.5.0.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_jaxrpc.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_mail-1.4.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_saaj-api-1.3.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/js_wsdl4j-1.5.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jsmoothgen-ant-0.9.7.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jsr173_api.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jta.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/junit-4.5.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jxl-2.6.10.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/jxl-2.6.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/log4j-1.2.15.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/log4j-1.2.9.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/looks-2.0-rc.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/mail.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/microba-0.4.1-bin.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/mondrian-2.3.2.8944.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/mondrian-3.1.1.12687.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/mysql-connector-java-5.1.12-bin.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/nsisant-1.1.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/png-encoder-1.5.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/poi-3.0.1-FINAL-20070705.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/poi-3.5-FINAL-20090928.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/poi-3.6.jar
</resources>
<application-desc main
jnlp file truncated after 10K
异常(exception):
JNLParseException[ Could not parse launch file. Error at line 0.]
at com.sun.javaws.jnl.XMLFormat.parse(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.buildDescriptor(Unknown Source)
at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
at com.sun.javaws.Launcher.launch(Unknown Source)
at com.sun.javaws.Main.launchApp(Unknown Source)
at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
at com.sun.javaws.Main$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
<小时/>
包装异常:
java.lang.NullPointerException
at com.sun.deploy.xml.XMLParser.parseXMLAttribute(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)
......
如何解决这个问题?
这是我的launch.jnlp,但是错误消息中显示了JNLP1,
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<jnlp codebase="http://192.168.1.200/ofmex/." href="launch.jnlp" spec="1.0+">
<information>
<title>Basic Application Example</title>
<vendor>Sun Microsystems Inc.</vendor>
<homepage href="http://appframework.dev.java.net"/>
<description>A simple java desktop application based on Swing Application Framework</description>
<description kind="short">Basic Application Example</description>
<icon href="MnuIcon.gif" kind="default"/>
</information>
<update check="background"/>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.6+"/>
<jar href="OFMEX_MANUFACTURING.jar" main="true"/>
<jar href="lib/AbsoluteLayout.jar"/>
<jar href="lib/activation.jar"/>
<jar href="lib/ant-1.7.1.jar"/>
<jar href="lib/antlr-2.7.5.jar"/>
<jar href="lib/antlr-2.7.6.jar"/>
<jar href="lib/appframework-1.0.3.jar"/>
<jar href="lib/asm-attrs.jar"/>
<jar href="lib/asm.jar"/>
<jar href="lib/barbecue-1.1.jar"/>
<jar href="lib/barbecue-1.5-beta1.jar"/>
<jar href="lib/barcode4j-2.0.jar"/>
<jar href="lib/batik-anim.jar"/>
<jar href="lib/batik-awt-util.jar"/>
<jar href="lib/batik-bridge.jar"/>
<jar href="lib/batik-css.jar"/>
<jar href="lib/batik-dom.jar"/>
<jar href="lib/batik-ext.jar"/>
<jar href="lib/batik-gvt.jar"/>
<jar href="lib/batik-parser.jar"/>
<jar href="lib/batik-script.jar"/>
<jar href="lib/batik-svg-dom.jar"/>
<jar href="lib/batik-svggen.jar"/>
<jar href="lib/batik-util.jar"/>
<jar href="lib/batik-xml.jar"/>
<jar href="lib/bcel-5.2.jar"/>
<jar href="lib/boot.jar"/>
<jar href="lib/bsh-2.0b4.jar"/>
<jar href="lib/castor-1.2.jar"/>
<jar href="lib/cglib-2.1.jar"/>
<jar href="lib/cincom-jr-xmla.jar"/>
<jar href="lib/com-jaspersoft-ireport-addons.jar"/>
<jar href="lib/com-jaspersoft-ireport-components.jar"/>
<jar href="lib/com-jaspersoft-ireport-designer-standalone.jar"/>
<jar href="lib/com-jaspersoft-ireport-heartbeat.jar"/>
<jar href="lib/com-jaspersoft-ireport-jasperserver.jar"/>
<jar href="lib/com-jaspersoft-ireport-samples.jar"/>
<jar href="lib/com-jaspersoft-ireport.jar"/>
<jar href="lib/com-jaspersoft-jrx.jar"/>
<jar href="lib/commons-beanutils-1.8.2.jar"/>
<jar href="lib/commons-collections-2.1.1.jar"/>
<jar href="lib/commons-collections-3.2.1.jar"/>
<jar href="lib/commons-dbcp-1.2.2.jar"/>
<jar href="lib/commons-digester-1.7.jar"/>
<jar href="lib/commons-javaflow-20060411.jar"/>
<jar href="lib/commons-logging-1.1.jar"/>
<jar href="lib/commons-logging-api-1.0.2.jar"/>
<jar href="lib/commons-math-1.0.jar"/>
<jar href="lib/commons-net-1.4.1.jar"/>
<jar href="lib/commons-pool-1.3.jar"/>
<jar href="lib/commons-vfs-1.0.jar"/>
<jar href="lib/core-renderer.jar"/>
<jar href="lib/core.jar"/>
<jar href="lib/core_de.jar"/>
<jar href="lib/core_es.jar"/>
<jar href="lib/core_fr.jar"/>
<jar href="lib/core_ireport.jar"/>
<jar href="lib/core_it.jar"/>
<jar href="lib/core_ja.jar"/>
<jar href="lib/core_nb_de.jar"/>
<jar href="lib/core_nb_es.jar"/>
<jar href="lib/core_nb_it.jar"/>
<jar href="lib/core_nb_ja.jar"/>
<jar href="lib/core_nb_pt_BR.jar"/>
<jar href="lib/core_nb_zh_CN.jar"/>
<jar href="lib/core_nb_zh_TW.jar"/>
<jar href="lib/core_pl.jar"/>
<jar href="lib/core_pt_BR.jar"/>
<jar href="lib/core_sq.jar"/>
<jar href="lib/core_zh_CN.jar"/>
<jar href="lib/core_zh_TW.jar"/>
<jar href="lib/DateChooser.jar"/>
<jar href="lib/ddl.jar"/>
<jar href="lib/dom4j-1.6.jar"/>
<jar href="lib/ehcache-1.1.jar"/>
<jar href="lib/eigenbase-properties-1.1.0.10924.jar"/>
<jar href="lib/eigenbase-properties.jar"/>
<jar href="lib/eigenbase-resgen-1.3.0.11873.jar"/>
<jar href="lib/eigenbase-resgen.jar"/>
<jar href="lib/eigenbase-xom-1.3.0.11999.jar"/>
<jar href="lib/eigenbase-xom.jar"/>
<jar href="lib/ejb3-persistence.jar"/>
<jar href="lib/flexdock-0.4.1.jar"/>
<jar href="lib/groovy-all-1.5.5.jar"/>
<jar href="lib/hibernate-annotations.jar"/>
<jar href="lib/hibernate-commons-annotations.jar"/>
<jar href="lib/hibernate3.jar"/>
<jar href="lib/hsqldb-1.7.1.jar"/>
<jar href="lib/hsqldb-1.8.0-10.jar"/>
<jar href="lib/iReport.jar"/>
<jar href="lib/iText-2.1.7.jar"/>
<jar href="lib/iTextAsian.jar"/>
<jar href="lib/jakarta-bcel-20050813.jar"/>
<jar href="lib/jakarta-oro-2.0.8.jar"/>
<jar href="lib/JasperBabylon-1.0.0.jar"/>
<jar href="lib/jasperreports-3.7.4.jar"/>
<jar href="lib/jasperreports-applet-3.7.4.jar"/>
<jar href="lib/jasperreports-chart-themes-3.7.3.jar"/>
<jar href="lib/jasperreports-extensions-3.5.3.jar"/>
<jar href="lib/jasperreports-fonts-3.7.4.jar"/>
<jar href="lib/jasperreports-javaflow-3.7.4.jar"/>
<jar href="lib/javacup.jar"/>
<jar href="lib/javassist-3.4.GA.jar"/>
<jar href="lib/jaxb-api.jar"/>
<jar href="lib/jaxb-impl.jar"/>
<jar href="lib/jaxb-xjc.jar"/>
<jar href="lib/jaxen-1.1.1.jar"/>
<jar href="lib/jcmdline-1.0.2.jar"/>
<jar href="lib/jcommon-1.0.0.jar"/>
<jar href="lib/jcommon-1.0.15.jar"/>
<jar href="lib/jdt-compiler-3.1.1.jar"/>
<jar href="lib/jfreechart-1.0.12.jar"/>
<jar href="lib/jh-2.0_05.jar"/>
<jar href="lib/jna-3.0.9.jar"/>
<jar href="lib/jpa.jar"/>
<jar href="lib/js_activation-1.1.jar"/>
<jar href="lib/js_axis-1.4patched.jar"/>
<jar href="lib/js_commons-codec-1.3.jar"/>
<jar href="lib/js_commons-discovery-0.2.jar"/>
<jar href="lib/js_commons-httpclient-3.1.jar"/>
<jar href="lib/js_jasperserver-common-ws-3.5.0.jar"/>
<jar href="lib/js_jaxrpc.jar"/>
<jar href="lib/js_mail-1.4.jar"/>
<jar href="lib/js_saaj-api-1.3.jar"/>
<jar href="lib/js_wsdl4j-1.5.1.jar"/>
<jar href="lib/jsmoothgen-ant-0.9.7.jar"/>
<jar href="lib/jsr173_api.jar"/>
<jar href="lib/jta.jar"/>
<jar href="lib/junit-4.5.jar"/>
<jar href="lib/jxl-2.6.10.jar"/>
<jar href="lib/jxl-2.6.jar"/>
<jar href="lib/log4j-1.2.15.jar"/>
<jar href="lib/log4j-1.2.9.jar"/>
<jar href="lib/looks-2.0-rc.jar"/>
<jar href="lib/mail.jar"/>
<jar href="lib/microba-0.4.1-bin.jar"/>
<jar href="lib/mondrian-2.3.2.8944.jar"/>
<jar href="lib/mondrian-3.1.1.12687.jar"/>
<jar href="lib/mysql-connector-java-5.1.12-bin.jar"/>
<jar href="lib/nsisant-1.1.jar"/>
<jar href="lib/png-encoder-1.5.jar"/>
<jar href="lib/poi-3.0.1-FINAL-20070705.jar"/>
<jar href="lib/poi-3.5-FINAL-20090928.jar"/>
<jar href="lib/poi-3.6.jar"/>
<jar href="lib/rex-20070125.jar"/>
<jar href="lib/rhino-1.7R1.jar"/>
<jar href="lib/saaj-api-1.3.jar"/>
<jar href="lib/serializer.jar"/>
<jar href="lib/servlet.jar"/>
<jar href="lib/spring-2.0-m2.jar"/>
<jar href="lib/spring-beans-2.5.5.jar"/>
<jar href="lib/spring-context-2.0-m2.jar"/>
<jar href="lib/spring-core-2.5.5.jar"/>
<jar href="lib/spring-hibernate3-2.0-m2.jar"/>
<jar href="lib/sqleonardo-2007.03.jar"/>
<jar href="lib/swing-worker-1.1.jar"/>
<jar href="lib/swingx-2007_05_13.jar"/>
<jar href="lib/tinylaf.jar"/>
<jar href="lib/toniclf.jar"/>
<jar href="lib/xalan-2.7.1.jar"/>
<jar href="lib/xalan.jar"/>
<jar href="lib/xercesImpl-2.7.0.jar"/>
<jar href="lib/xercesImpl.jar"/>
<jar href="lib/xml-apis-ext.jar"/>
<jar href="lib/xml-apis.jar"/>
<jar href="lib/swing-layout-1.0.4.jar"/>
<jar href="lib/poi-3.5-FINAL-20090928.jar"/>
<jar href="lib/jcalendar-1.4.jar"/>
<jar href="lib/jasperreports-4.0.2.jar"/>
<jar href="lib/jasperreports-chart-themes-4.0.2.jar"/>
<jar href="lib/jasperreports-fonts-4.0.2.jar"/>
<jar href="lib/jfreechart-1.0.14.jar"/>
</resources>
<application-desc main-class="COMMON.FrmSplashScreen">
</application-desc>
</jnlp>
最佳答案
<jar href="http://192.168.1.200/ofmex/lib/poi-3.5-FINAL-20090928.jar"/>
<jar href="http://192.168.1.200/ofmex/lib/poi-3.6.jar
</resources>
<application-desc main
jnlp file truncated after 10K
poi-3.6.jar
的 jar
元素在 JNLP 中格式是否正确?jnlp 文件在 10K 之后被截断
有关。可能有必要将一些文件移至扩展。更好的是,因为甚至在损坏的元素之前就有 143 个文件,因此请认真检查您是否在应用程序的运行时类路径上需要过多的 Jars。首先。它似乎是一个巨大需要下载的应用程序。无论哪种方式,请务必使用 JaNeLA 检查 JNLP 。这可能会揭示其他错误。
<小时/>顺便说一句,将 JNLP 元素从 .. 更改为 ..
<jnlp href="http://192.168.1.200/ofmex/launch.jnlp" spec="1.0+">
..到..
<jnlp codebase="http://192.168.1.200/ofmex" href="launch.jnlp" spec="1.0+">
..然后从显示的 JNLP 中的每个其他 HREF 中删除 http://192.168.1.200/ofmex
,从而减小大小相当大。
Old 9879
New 5950
<小时/>
我在发布答案时没有注意到您的编辑。这部分特定于完整的 JNLP。
同样,该 JNLP 存在很多可疑元素。举一些例子:
<jar href="lib/jfreechart-1.0.12.jar"/>
// ..much later..
<jar href="lib/jfreechart-1.0.14.jar"/>
看起来应该使用第一个,但为什么都提到了?
<jar href="lib/looks-2.0-rc.jar"/>
...
<jar href="lib/barbecue-1.5-beta1.jar"/>
<jar href="lib/microba-0.4.1-bin.jar"/>
...
<jar href="lib/mysql-connector-java-5.1.12-bin.jar"/>
如果这些 Jars 实际上包含 native ,则应在 nativelib
元素中提及它们,并将其放入操作系统特定资源部分。
这个类别让我摸不着头脑,为什么您需要在富客户端桌面应用程序中使用这些 API,或者至少为什么您需要在需要 1.6+ 的桌面客户端中使用它们。
<jar href="lib/servlet.jar"/>
..
<jar href="lib/swing-worker-1.1.jar"/> // has been in J2SE since 1.6
..
<jar href="lib/swing-layout-1.0.4.jar"/> // probably has been in J2SE since 1.2
..
<jar href="lib/junit-4.5.jar"/>
关于java - 尝试启动应用程序时 JNLP 文件出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9306028/
This question already has an answer here: Character constant too long for it's type (1个答案) 1年前关闭。 我是
每次我执行 Scala 程序时,Eclipse 都会创建一个新的“运行配置”。这样做的问题是我需要自定义默认的运行配置(需要更改工作路径)。因此,我第一次创建和自定义运行配置时一切正常,但任何后续尝试
关闭。这个问题是opinion-based 。目前不接受答案。 想要改进这个问题吗?更新问题,以便 editing this post 可以用事实和引文来回答它。 . 已关闭 5 年前。 Improv
基本上我正在做的是创建一个充当启动器的 swing 应用程序。它所做的只是为用户提供了 3 个选项,他们可以从中选择打开一个新的 java 应用程序。 3 个不同的 java 应用程序都有不同的主题,
这个问题已经有答案了: Make a py2exe exe run without a console? (2 个回答) 已关闭 9 年前。 我不希望在打开 python 应用程序时在后台打开 cmd
我曾经尝试编译一个我为国际象棋游戏编写的 C 程序(感谢 YouTube 的 Bluefever Software 提供的教程),但是当我去编译该程序时,我执行了这行代码: C:\TDM-GCC-64
这是一段代码,通过从一个文件获取输入并在另一个文件中给出输出来执行数字的平方。 #include #include void main() { FILE *fp1, *fp2; char
#include using namespace std; class foo { private: static int cnt; // number in memory stat
我做了一个简单的 hello world 程序。我单击“开始调试”,窗口显示“项目已过期。您要构建它吗?”当我单击"is"时,下一个窗口显示“存在构建错误。您要继续并运行上次成功的构建吗?”。我再次选
这是一个程序,有人在其中输入密码并尝试三次猜密码。当我编译它时,我遇到了多个错误,其中一个包括第 13 行,它基本上说它找不到包含在 Password_Program 类中的类似函数。 #includ
我想将我的游戏导出到 .jar 文件中。它导出;当我运行它时,框架出现了,但面板没有加载。我的框架和面板位于两个不同的类文件中,但我认为这没有什么区别。而且,它在 Eclipse 中完全可以工作。我在
我粘贴了程序以从 codenameone 开发人员指南中创建一个按钮,并且我在 netbeans 中使用了该代码,但是当我单击“运行”时,它在模拟器中没有显示任何内容 最佳答案 您删除了 hi.sho
当我执行这个程序时,它并没有终止。 例如,如果我给它输入 A,输出将是: 65 7 1000001 0 65 7 1000001 ... 我的代码: #include #include void
考虑下面的基本客户端和服务器程序(只是骨架/说明我的问题)。客户端启动与服务器的连接,提示用户输入消息,然后发送到服务器并打印到屏幕。 如果我在循环中间突然退出客户端程序(例如通过关闭终端窗口),有时
我运行一个非常简单的单线程 Java 程序。当我在 Ubuntu 下使用命令检查线程时 ps -eLf 它显示操作系统级别有 14 个线程。我希望当程序有一个线程时只有一个线程,如果程序有 x 个线程
当我从命令行运行类似以下内容的代码时,真正发生了什么? > scala hello.scala 是否有hello.class生成,执行然后丢弃?还是在这种情况下Scala表现得像翻译一样?我只是在想,
程序正在从网络摄像机接收以字节为单位的图像数据,然后处理图像。程序第一次启动时使用470Mb RAM,每1秒增加到15Mb,一直持续到没有足够的空间而计算机挂起。 方法 getImage() 每 10
当我运行我的 selenium 程序时,它显示错误,如何解决这个问题? import org.openqa.selenium.By; public class sss { public sta
我写了一个简单的程序,试图查看内存中的变化,但没有任何变化。无论我是否运行代码,总是会出现大约 20% 左右的直线水平线。 #include using namespace std; int main
我是 c/c++ 领域的新手,我已经在虚拟机上沉迷太久了。 我正在修改我们在整个公司使用的现有 C++ 工具。该工具正在所有主要操作系统(Windows、Mac、Ubuntu、Solaris 等)上使
我是一名优秀的程序员,十分优秀!