This is a note to myself in case I forget. By posting it here, I have an easy way to look it up again. Also it just might help someone else!
tomcat6 java.lang.NoClassDefFoundError: javax/servlet/ServletContextListener
Resolution :
Click on
tomcat server.
Open Launch configuration
Go to server class path
Add external jar
Add j2ee.jar