classpathx-xml
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Classpathx-xml] Problem using the gnujaxp jar in an applet


From: Arnaud Vandyck
Subject: Re: [Classpathx-xml] Problem using the gnujaxp jar in an applet
Date: Sat, 29 Mar 2003 00:00:43 +0100 (CET)

1° Did you compile gnujaxp and your classes with jdk1.2 (or above) and
   try to execute without a java-plugin for your browser?

2° Does your applet have all the permissions?

If gnujaxp works in a swing application but not in the applet, I do
not see what other thing it can be?

Hope it helps...

 ___________________________________________________________
/ Sean Cavanaugh <address@hidden> wrote:
| Hello,
| 
| I am attempting to use the gnujaxp.jar file to support an applet I am 
| writing for a school project. However, when I attempt to load the 
| applet, it doesn't work, instead the java console displays a stack trace 
| (see below) complaining of a duplicate entry for META-INF/
| 
| I just can't seem to get this to work. The code does work from a regular 
| swing application.
| 
| Anyone have any ideas how I can get this working?
| 
| Thanks.
| 
| The stack trace:
| 
| java.util.zip.ZipException: duplicate entry: META-INF/
| at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:163)
| at sun.plugin.cache.CachedJarLoader.decompress(CachedJarLoader.java:394)
| at sun.plugin.cache.CachedJarLoader.access$500(CachedJarLoader.java:53)
| at sun.plugin.cache.CachedJarLoader$5.run(CachedJarLoader.java:335)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.plugin.cache.Cache.privileged(Cache.java:219)
| at sun.plugin.cache.CachedJarLoader.download(CachedJarLoader.java:320)
| at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:128)
| at sun.plugin.cache.JarCache.get(JarCache.java:172)
| at 
| 
sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:93)
| at 
| 
sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78)
| at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:580)
| at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:541)
| at sun.misc.URLClassPath$3.run(URLClassPath.java:319)
| at java.security.AccessController.doPrivileged(Native Method)
| at sun.misc.URLClassPath.getLoader(URLClassPath.java:308)
| at sun.misc.URLClassPath.getLoader(URLClassPath.java:285)
| at sun.misc.URLClassPath.getResource(URLClassPath.java:155)
| at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
| at java.security.AccessController.doPrivileged(Native Method)
| at java.net.URLClassLoader.findClass(URLClassLoader.java:186)
| at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134)
| at 
| sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
| at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
| at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
| at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:501)
| at sun.applet.AppletPanel.createApplet(AppletPanel.java:566)
| at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1775)
| at sun.applet.AppletPanel.runLoader(AppletPanel.java:495)
| at sun.applet.AppletPanel.run(AppletPanel.java:292)
| at java.lang.Thread.run(Thread.java:536)


-- arnaud @ home
FingerPrint: 82F3 45D0 F1B2 D79E D0BE  5188 E2FC C566 EEB6 B4C2

Attachment: pgpwtTJEqzJNR.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]