You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by Harald Kaada <ha...@yahoo.no> on 2003/04/01 20:17:58 UTC
Log4J in MS Visual J++
Hello,
Have any of you tried to use log4j with MS Visual J++ 6.0.
My little test program compiles without problem, but fails with java.lang.NoClassDefFoundError during execution.
Here is the test program:
public class Class1
{
public static void main (String[] args)
{
org.apache.log4j.Logger test = org.apache.log4j.Logger.getLogger("mylogger"); // program dies here
}
}
According to the "Available packages" list under Project -> "Project" Properties -> Classpath, the packages should be available.
Note again that this compiles successfully. The generated .class file runs without error using java.exe (Sun JDK 1.4.1)
I'm sorry that this is a bit Microsoft specific, but I assumed this was the best place to ask.
Regards,
Harald Kaada
Ny versjon av Yahoo! Messenger
Nye ikoner og bakgrunner, webkamera med superkvalitet og dobbelt så morsom