[SNMP4J] log4j

Frank Fock fock at agentpp.com
Mon Dec 19 22:59:26 CET 2005


Hi Alperen,

Just remove the line

    LogFactory.setLogFactory(new Log4jLogFactory());

where you have added it to your code. That should remove
any dependency of SNMP4J on Log4J at runtime.

Best regards,
Frank

Alperen UNLU wrote:

>hi,
>
>I've got a little runtime problem , but I'm not sure if iets caused by
>SNMP4j or not.
>I get the following error
>
>
>java.lang.NoClassDefFoundError: org/apache/log4j/Category
>
>Exception in thread "main"
>
>Is SNMP4J using this tool ? and should I install it ? cause I don't use it
>anywhere and I get the error at runtime.
>
>Alperen
>_______________________________________________
>SNMP4J mailing list
>SNMP4J at agentpp.org
>http://lists.agentpp.org/mailman/listinfo/snmp4j
>
>
>  
>


-- 
AGENT++
http://www.agentpp.com
http://www.mibexplorer.com
http://www.mibdesigner.com





More information about the SNMP4J mailing list