function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Sean_kSean_k 

JSP Sample problems

Hi I downloaded Jsp Samples form sforce.com,and unzipped in to
tomcat/webapps/sforce.
when i typed http://localhost:8080/sforce/ in browser url it is showing up the index.jsp,
but when I click on Sample 1: Web2Lead or Sample 2: Lead Qualification / WebLink Example
links iam getting the following error
exception
javax.servlet.ServletException: org/apache/tools/ant/BuildException
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:244)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

root cause
java.lang.NoClassDefFoundError: org/apache/tools/ant/BuildException
 org.apache.jasper.JspCompilationContext.createCompiler(JspCompilationContext.java:197)
 org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:508)
 org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:295)
 org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
 org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
 javax.servlet.http.HttpServlet.service(HttpServlet.java:802)

what could be the reason?
I tried by setting ant.jar in the classpath but it doesn't help.I am wondering why does it need ant
to compile Jsp pages?
 
Thanks
Sean

Message Edited by Sean_k on 05-31-2006 10:31 AM