Eclipse 3, Log4j JDK 1.3 compile problem.
Posted on 2003-12-08
Quick question, Appreciate it if someone has seen this before.
I'm compiling an application which uses Log4J for logging. JDK 1.3 is a must and not a choice. On Eclipse 2, everything compiles 100% ok.
On Eclipse 3, build 5, I get the following errors:
- The project was not built since build path is inclomplete. Cannot find the class file java.util.logging.Logger. Fix...(blah blah)
- The type java.util.logging.Logger cannot be resolved. It is inderectly referenced from requested .class files.
Of course, I launch Eclipse 3 with JDK 1.4 (since it won't start properly with 1.3)
My project uses my eclipse defaults. My eclipse defaults are set to compile for JDK 1.3.1_08 as default (checkmark).
In the code that is referenced by the second error, there is a completely qualified log4j import and no java.util.logging.XXX import statements (as it would not compile in eclipse 2 with jdk 1.3)
One last piece of info, the log4j is used in lots of places, so if I remove this compile unit from the build, I still get the same elsewhere.
So WHERE does eclipse find this java.util.logging.Logger reference... is there anyway for me to figure it out?