[SNMP4J] SnmpRequest Exception

Subodh Bansal s.bansal at lightmaze.com
Tue Feb 22 12:33:43 CET 2005


Hello,

I am using latest version of SNMP4J - [2005-02-17] Version 1.1.1.
I have compiled org.snmp4j.tools.console.SnmpRequest.java and after that facing problem in running this class, getting following exception:

java.lang.NoSuchMethodError: org.snmp4j.Snmp.send(Lorg/snmp4j/PDU;Lorg/snmp4j/Target;)Lorg/snmp4j/event/ResponseEvent;
 at com.lightmaze.SnmpRequest.send(SnmpRequest.java:254)
 at com.lightmaze.SnmpRequest.main(SnmpRequest.java:966)

My arguments are:
-c public -v 2c -p GET 192.168.1.100/161 1.3.6.1.2.1.1.6.0

Please advice.

Best Regards,
Subodh Bansal



More information about the SNMP4J mailing list