Monday, 21 November 2011


While I was working on my web Application, Everything was working well till i got into

calling a jsp file  which got me this error

java.lang.NoClassDefFoundError: Could not initialize class org.apache.jasper.compiler.JspRuntimeContext.

I am using Wicket + Birt3.7
O.S-- Linux

So to make a call to my Birt Report , I need to call jsp file from where i can call The Report.

Long Back , I  added JSF capabilities to my project which i shouldn't have i guess.

From then onwards,  When i start my Tomcat via Eclipse .... it gives me this error while loading the app.

To resolve , Searched a lot.....got someone saying to add all jars required to run a jsp file like Jsp-api.jar.

But I already had those jars and since it was working fine before, it doeson't make sense to mess up with jars .

What i did next is-- I downloaded the required Apache Tomcat server and used that instead.

Now--> everything working fine with no errors....

One more option which can be done  to resolve this is -- deleting the Catalina directory present under

tomcat/work.