NoSuchMethodError

Hello all! I'm writing a java applet that among other things uses vectors and hashtables. I'm experiencing a very annoying problemthat I do not know how to solve.

When I run the applet under jBuilder every thing runs fine however when I compile it (I've compiled it with and without jBuilder) and try to run it inside IE 5.5 I get an exception thrown "java.lang.NoSuchMethodError:

java/util/Hashtable: method keySet()Ljava /util/Set; not found" This error pops up for just about anywhere I access a vector or a table. The documentation says that this error should happen a compilation time but for me it's happening at runtime any ideas? This is my biggest problem and I can't find a way to fix it i've imported everything and tried what I know...The web wasn't much help on this problem...anyone else find a way to fix this? I have downloaded and installed the latest jre and have the java 1.3.1 plugin in my control panel do i not have something setup correctly? Thanks for your help.

[1026 byte] By [spuriouslogic] at [2007-9-26 4:24:40]
# 1
Try to install your JVM again it might be missing implementation for that method...
esrael at 2007-6-29 17:32:02 > top of Java-index,Archived Forums,Java Programming...
# 2
How are you running itin your local server or on a host web siteif it's on your local you need to config your server.xml files if it's on host web site then it's not up to you it's about what version they have installed on there server
itsikf at 2007-6-29 17:32:02 > top of Java-index,Archived Forums,Java Programming...
# 3
As far as I know IE supports only Java 1.1. Hashtable was not yet in the version 1.1 so you can't use it. Try to use 1.1 API specifications when writing an applet.
fearghail at 2007-6-29 17:32:02 > top of Java-index,Archived Forums,Java Programming...
# 4
> Try to use 1.1 API specifications when> writing an applet. True. If not possible, or when one does not even trust IE to be 1.1 compliant, then use Sun's Java plug-in. http://java.sun.com/products/plugina.
avbentem at 2007-6-29 17:32:02 > top of Java-index,Archived Forums,Java Programming...
# 5
Hi NoSuchMethod exception comes when there is compatability problem with the classes you compiled.If you compile ur java files on different java version please remove all the class files in ur application and recompile all java files using same java version.
ravitandur at 2007-6-29 17:32:02 > top of Java-index,Archived Forums,Java Programming...