Я выполняю корпоративное приложение, используя команду jav aws и файл jnlp. Ниже приведен URL-адрес, который я использую
. jav aws http://localhost: 9950 / rtccClient / rt cc .jnlp Выдает исключение «java .lang.IllegalStateException: zip-файл закрыт». ниже полная трассировка журнала. Пожалуйста,
обновите, почему я получаю эту ошибку.
Launch Error:could not launch JNLP file. ( ( (zip file closed)))
net.sourceforge.jnlp.LaunchException: Fatal: Launch Error: Could not launch JNLP file. The
application has not been initialized, for more information execute javaws/browser from the command
line and send a bug report.
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:577)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:940)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:571)
... 1 more
Caused by: java.lang.ExceptionInInitializerError
at com.viveo.rtcc.ide.client.IDE.<init>(IDE.java:141)
at com.viveo.rtcc.ide.client.IDE.getInstance(IDE.java:171)
at com.viveo.rtcc.ide.client.IDE.main(IDE.java:1021)
... 6 more
Caused by: java.lang.IllegalStateException: zip file closed
at java.util.zip.ZipFile.ensureOpen(ZipFile.java:686)
at java.util.zip.ZipFile.getEntry(ZipFile.java:315)
at java.util.jar.JarFile.getEntry(JarFile.java:240)
at java.util.jar.JarFile.getJarEntry(JarFile.java:223)
at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1054)
at sun.misc.URLClassPath.getResource(URLClassPath.java:249)
at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
at java.net.URLClassLoader$1.run(URLClassLoader.java:363)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:362)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.access$1701(JNLPClassLoader.java:103)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$5.run(JNLPClassLoader.java:1665)
at net.sourceforge.jnlp.runtime.JNLPClassLoader$5.run(JNLPClassLoader.java:1662)
at java.security.AccessController.doPrivileged(Native Method)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.findClass(JNLPClassLoader.java:1661)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClassExt(JNLPClassLoader.java:1698)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.loadClass(JNLPClassLoader.java:1497)
at
org.apache.logging.log4j.message.AbstractMessageFactory.newMessage(AbstractMessageFactory.java:59)
at org.apache.logging.log4j.spi.AbstractLogger.logMessage(AbstractLogger.java:2011)
at org.apache.logging.log4j.spi.AbstractLogger.logIfEnabled(AbstractLogger.java:1983)
at org.apache.logging.log4j.spi.AbstractLogger.warn(AbstractLogger.java:2659)
at org.apache.logging.log4j.LogManager.getContext(LogManager.java:196)
at org.apache.logging.log4j.LogManager.getLogger(LogManager.java:602)
at com.viveo.rtcc.common.client.traces.Trace.<init>(Trace.java:34)
at com.viveo.rtcc.common.client.traces.TraceManager.getTraceInstance(TraceManager.java:163)
at com.viveo.rtcc.common.client.resource.ResourcesMediator.<clinit>(ResourcesMediator.java:42)
... 9 more