Hi Paul,
Please excuse me being so obscure. Allow me to explain once again.
1) I create 2 new Projects (logexample and testapp). For logexample I go to Window>Prefernces>
Java>Build Path>Classpath Varaiables and set a New Variable for the log4j. The program works fine. No exception is thrown for the NoClassDefFoundError /Logger.
2) For testapp I go to Window>Prefernces>Java>Build Path>Classpath Varaiables and set a New Variable for the log4j. The Build path contains many more variables. I add a new variable but it now gives me NoClassDefFoundError /Logger.
I wanted to know if the build path is specific to each WAS Project? FYI, I had the file (log4j.jar) in the WEB-INF/lib but it still gave me the error.
Any help is appreciated.
Regards,
Roshani.