Please don't ask the same question twice; I have deleted the identical post on somebody else's thread.
Please start by showing us how you are setting the CLASSPATH in Eclipse and in the current application, and the exact location of the WebContextListener class in each case.
Edit: corrected spelling error in the class' name.
Power corrupts. Absolute power xxxxxxxxxxxxxxxx is kinda neat.
professionally read, modify and write PDF files from Java