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
trusslertrussler 

sforce JSP Samples (Error)

After deploying sforce-jsp-samples.war on Tomcat 5.5.17, I received the following error when attempting to run both web2lead.js and leadlist.jsp.  Any ideas?

-----------------------------------------

org.apache.jasper.JasperException: Unable to compile class for JSP

Generated servlet error:
The return type is incompatible with JspSourceDependent.getDependants()


org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
OmarOmar
There probably is some problem with the Tomcat version. I was facing a similar problem. When i reverted back to Tomcat 5.0.19, it started working fine.
I hope my answer helps you.
regards,
Omar Altaf