I am using tomcat 5.5. I am trying to precompile all my JSPs using Jasper2. After my ant script runs successfully. i am trying to access my index.jsp, which gives me ClassNotFoundException. Can anyone help me resolving this?
A ClassNotFoundException means that a class that is used by the code is missing. The exception message tells you which one it is. Make sure it's somewhere where both the Ant task and your web app can find it.
We can fix it! We just need some baling wire, some WD-40, a bit of duct tape and this tiny ad: