java.lang.ClassNotFoundException org.eclipse.birt.report.listener.ViewerServletContextListener
You may, when you start up tomcat, see this and some other messages just like it: "SEVERE: Error configuring application listener of class org.eclipse.birt.report.listener.ViewerServletContextListener
java.lang.ClassNotFoundException: org.eclipse.birt.report.listener.ViewerServletContextListener"
Sometimes the first time you run Tomcat with the manager, due to a bug in eclipse, the .jar files won't export. You'll get a bunch of class not found errors for BIRT and IceFaces at startup, and the startup will fail.
To verify that it's this particular problem, check [Your-Eclipse-Workspace]\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\WST_Manager_Webapp\WEB-INF\lib -- if the lib folder is missing (but it's parent META-INF is there), you know you're hitting this bug.
I tried the following and then it worked:
- Right click your project "WST_Manager_Webapp" and choose "Close Project"
- Quit Eclipse
- Re-run eclipse
- Open "WST_Manager_Webapp"
- Go to the Servers view:
- Right click the server (Tomcat)
- Click Clean...
- Try it again.
- If that doesn't work, repeat and rebuild a couple times. Eventually it works for everyone that's tried to report this bug.