Help needed for using MapImage applet

Yeewen Sat yeewen at petromap.com
Thu Nov 2 16:47:21 EST 2000


Hi,
I'm able to run the mapserver example that uses mapimage applet in
http://terrasip.gis.umn.edu/projects/tutorial/ example 5.
I tried to do the same with my project. I downloaded MapImage.zip from
http://mapserver.gis.umn.edu/contributed.html, followed the instructions by
Stephen Lime....by copying mapimage.class to my webserver (without
recompiling). When it tries to execute the applet, I got the following
errors:

# Applet exception: error: java.lang.ClassFormatError: Wrong class name
inside class file
java.lang.ClassFormatError: Wrong class name inside class file
  at java.lang.ClassLoader.defineClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.AppletClassLoader.findClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass1(Compiled Code)
* at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.AppletClassLoader.loadClass(Compiled Code)
  at netscape.applet.DerivedAppletFrame$LoadAppletEvent.dispatch(Compiled
Code)
  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)
  at java.awt.EventDispatchThread.run(Compiled Code)
  at
netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled
Code)

I'm using Netscape Communicator 4.76.

I also tried compiling with Jdk1.1.8 (I couldn't find a copy of Java 1.1
compiler), and reloading it. I get the same errors.
Can anyone explain this?

Thanks.
--
Yeewen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20001102/5f031b7a/attachment.html


More information about the mapserver-users mailing list