Newsgroup: it.comp.java
Titolo: Problema: non mi si carica una applet

Se apro la JVM mi segnala il seguente errore:
Java(TM) Plug-in: Versione 1.4.1_02
Uso della versione JRE 1.4.1_02 Java HotSpot(TM) Client VM
Directory principale utente = C:\Documents and Settings\XXXX
----------------------------------------------------
c:   cancella finestra console
f:   finalizza oggetti nella coda di finalizzazione
g:   recupera spazio
h:   visualizza questo messaggio di aiuto
l:   esegui dump dell'elenco classloader
m:   stampa utilizzo memoria
o:   attiva registrazione eventi
p:   ricarica configurazione proxy
q:   nascondi console
r:   ricarica configurazione policy
s:   esegui dump delle proprietą del sistema
t:   esegui dump dell'elenco thread
v:   esegui dump dello stack del thread
x:   cancella cache classloader
0-5: imposta livello di traccia su <n>
----------------------------------------------------
java.util.zip.ZipException: ZIP file must have at least one entry
 at java.util.zip.ZipOutputStream.finish(Unknown Source)
 at java.util.zip.DeflaterOutputStream.close(Unknown Source)
 at java.util.zip.ZipOutputStream.close(Unknown Source)
 at sun.plugin.cache.CachedJarLoader.decompress(Unknown Source)
 at sun.plugin.cache.CachedJarLoader.access$500(Unknown Source)
 at sun.plugin.cache.CachedJarLoader$5.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.plugin.cache.Cache.privileged(Unknown Source)
 at sun.plugin.cache.CachedJarLoader.download(Unknown Source)
 at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
 at sun.plugin.cache.JarCache.get(Unknown Source)
 at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
 at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown
Source)
 at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
 at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source)
 at sun.misc.URLClassPath$3.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at sun.misc.URLClassPath.getLoader(Unknown Source)
 at sun.misc.URLClassPath.getLoader(Unknown Source)
 at sun.misc.URLClassPath.getResource(Unknown Source)
 at java.net.URLClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.net.URLClassLoader.findClass(Unknown Source)
 at sun.applet.AppletClassLoader.findClass(Unknown Source)
 at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.applet.AppletClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.applet.AppletClassLoader.loadCode(Unknown Source)
 at sun.applet.AppletPanel.createApplet(Unknown Source)
 at sun.plugin.AppletViewer.createApplet(Unknown Source)
 at sun.applet.AppletPanel.runLoader(Unknown Source)
 at sun.applet.AppletPanel.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
caricamento: classe lotus.notes.apps.actionbar.ActionBar.class non trovata.
java.lang.ClassNotFoundException: lotus.notes.apps.actionbar.ActionBar.class
 at sun.applet.AppletClassLoader.findClass(Unknown Source)
 at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.applet.AppletClassLoader.loadClass(Unknown Source)
 at java.lang.ClassLoader.loadClass(Unknown Source)
 at sun.applet.AppletClassLoader.loadCode(Unknown Source)
 at sun.applet.AppletPanel.createApplet(Unknown Source)
 at sun.plugin.AppletViewer.createApplet(Unknown Source)
 at sun.applet.AppletPanel.runLoader(Unknown Source)
 at sun.applet.AppletPanel.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: open HTTP connection failed.
 at sun.applet.AppletClassLoader.getBytes(Unknown Source)
 at sun.applet.AppletClassLoader.access$100(Unknown Source)
 at sun.applet.AppletClassLoader$1.run(Unknown Source)
 at java.security.AccessController.doPrivileged(Native Method)
 ... 11 more
Posso risolverlo e come?
Grazie infinite!

> java.util.zip.ZipException: ZIP file must have at least one entry
Potrebbe mancare l'attributo Main-Class: nel manifest del JAR.
Però non sono sicuro che sia la soluzione definitiva.
Luca Paganelli