我有一个使用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
例外:
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)
Wrapped Exception:
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>
答案 0 :(得分:3)
<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
jar
的{{1}}元素是否形成良好?poi-3.6.jar
有关。可能有必要将一些档案移动到扩展名。更好,因为即使是破碎的元素之前,这相当于143个档案,如果您需要在应用程序的运行时类路径中使用过多的Jars,请认真检查。首先。它似乎是一个 巨大的 应用程序。无论哪种方式,请务必使用JaNeLA检查JNLP。这可能会揭示其他错误。
BTW,改变JNLP元素..
jnlp file truncated after 10K
.. ..到
<jnlp href="http://192.168.1.200/ofmex/launch.jnlp" spec="1.0+">
..然后从显示的JNLP中的 每个 其他HREF中删除<jnlp codebase="http://192.168.1.200/ofmex" href="launch.jnlp" spec="1.0+">
,大大减小了尺寸。
http://192.168.1.200/ofmex
我没有注意到你的编辑,因为我发布了我的答案。这部分特定于完整的JNLP。
同样,JNLP还有很多可疑因素。举个例子:
Old 9879
New 5950
似乎第一个会被使用,但为什么都提到了?
<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"/>
如果这些Jars实际上包含本机,则应在<jar href="lib/microba-0.4.1-bin.jar"/>
...
<jar href="lib/mysql-connector-java-5.1.12-bin.jar"/>
元素中提及它们并将其放入OS特定资源部分。
此类别让我想到为什么在富客户端桌面应用程序中需要这些API,或者至少为什么在需要1.6 +的桌面客户端中需要这些API。
nativelib