[SNMP4J] Can i use SNMP4j with an application that already uses log4j

Frank Fock fock at agentpp.com
Wed Apr 20 21:23:33 CEST 2005


Hi Daniel,

Please update your SNMP4J to v1.2.2 or v1.5. Both do no
longer rely on any logging API.

Best regards,
Frank

Daniel Bress wrote:

>Has anyone tried to use snmp4j(which relies on an alpha release of
>log4j) with their application which uses an older version of lo4j?
>
>If I don't load the new version of log4j then I get an exception thrown
>from the SNMP4j classes:
>java.lang.NoClassDefFoundError: org/apache/ugli/LoggerFactory
>
>	at
>org.snmp4j.transport.DefaultUdpTransportMapping.<clinit>(DefaultUdpTrans
>portMapping.java:44)
>
>	at
>com.tecore.aircore.server.alarmmanager.SnmpTrapSender.<init>(SnmpTrapSen
>der.java:16)
>
>Anyone have any experience with this?
>
>Thanks,
>Dan
>
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>  
>





More information about the SNMP4J mailing list