Hello everyone,

I have created a java program(applet) with SNMP4j that gets 5 bits of 
information through the OID's.  when I compile and run my program in eclipse 
everything is working fine but when I try to insert my program into a html 
document and run it in a browser I get the following error.  Any help would be 
great.  I have spent quite awhile on this problem and cant seem to figure it 
out.

java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
org/snmp4j/TransportMapping
                at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown 
Source)
                at 
sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
                at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: org/snmp4j/TransportMapping
                at java.lang.Class.getDeclaredConstructors0(Native Method)
                at java.lang.Class.privateGetDeclaredConstructors(Unknown 
Source)
                at java.lang.Class.getConstructor0(Unknown Source)
                at java.lang.Class.newInstance0(Unknown Source)
                at java.lang.Class.newInstance(Unknown Source)
                at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
                at java.awt.event.InvocationEvent.dispatch(Unknown Source)
                at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
                at java.awt.EventQueue.access$000(Unknown Source)
                at java.awt.EventQueue$1.run(Unknown Source)
                at java.awt.EventQueue$1.run(Unknown Source)
                at java.security.AccessController.doPrivileged(Native Method)
                at 
java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
                at java.awt.EventQueue.dispatchEvent(Unknown Source)
                at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown 
Source)
                at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown 
Source)
                at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown 
Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
                at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.snmp4j.TransportMapping
                at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown 
Source)
                at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown 
Source)
                at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown 
Source)
                at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown 
Source)
                at java.lang.ClassLoader.loadClass(Unknown Source)
                ... 20 more
Exception: java.lang.RuntimeException: java.lang.NoClassDefFoundError: 
org/snmp4j/TransportMapping

------------------------------------------------
Rick Mollard
Network Analyst
Information Technology Services
University of Nebraska @ Kearney

_______________________________________________
SNMP4J mailing list
[email protected]
http://lists.agentpp.org/mailman/listinfo/snmp4j

Reply via email to