Help needed for using MapImage applet

Doyon, Jean-Francois Jean-Francois.Doyon at CCRS.NRCan.gc.ca
Fri Nov 3 06:56:23 PST 2000


Hmmmm, I use this applet, but I've never seen that one, I was having
aproblem with my [img] reference having to be a fully referenced URL of the
"http://myhost.com[img]" type, that was giving a similar yet different error
message.

On the same topic though, how do I access the supposedly exported boxOn and
BoxOff methods ????

Maybe documenting this applet could become part of the -docs mailing list
discussions.

J.F.

> ----------
> From: 	Yeewen Sat[SMTP:yeewen at petromap.com]
> Sent: 	Thursday, November 02, 2000 4:47 PM
> To: 	Mapserver-Users
> Subject: 	Help needed for using MapImage applet
> 
> 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 
> 



More information about the MapServer-users mailing list