[SNMP4J] TestAgent.class - I can not run it.
zbiggy
zbiggy at o2.pl
Fri Apr 10 10:02:56 CEST 2009
Hello,
I can not run TestAgent.class.
I use:
Linux Fedora
jdk 1.5.0_18
Apache Ant version 1.7.1
snmp4j-1.9.3d.zip
snmp4j-agent-1.2.2.zip
ant built snmp4j-agent/dist/lib/SNMP4J-agent.jar successful (just typed in ant).
But I can not run TestAgent:
java -cp SNMP4J-agent.jar org.snmp4j.agent.test.TestAgent
Exception in thread "main" java.lang.NoClassDefFoundError: org/snmp4j/event/CounterListener
I just only want to execute TestAgent, connect to it using snmp2c client and and read value using GET snmp command just to make sure it is working. What I'm doing wrong?
More information about the SNMP4J
mailing list