aspose file tools*
The moose likes Tomcat and the fly likes tomcat 6 jasper error. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "tomcat 6 jasper error." Watch "tomcat 6 jasper error." New topic
Author

tomcat 6 jasper error.

syed suhaib
Greenhorn

Joined: Jun 12, 2003
Posts: 2
Hi, I've tomcat 6 configured proper for the context outside of webapps:

$CATALINA_HOME/conf/Catalina/localhost/app.xml

[pms.xml]
<Context reloadable="true" docBase="/home/bms/pms" debug="1"/>

I'm getting following error whenever I accessed any jsp page in the application. Html pages are showing up alright. I have this application running on tomcat5 fine.
----------------------------------------------------
org.apache.jasper.JasperException: Unable to compile class for JSP:

An error occurred at line: 56 in the generated java file
The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory
----------------------------------------------------

Thanks, Suhaib.
syed suhaib
Greenhorn

Joined: Jun 12, 2003
Posts: 2
Got the solution here:
http://www.mail-archive.com/users@tomcat.apache.org/msg35677.html

I had old version of servlet.jar in my classpath which was causing the Jasper expception.
Muhammad Saifuddin
Ranch Hand

Joined: Dec 06, 2005
Posts: 1321

Welcome to Javaranch,

Thanks for providing the solution.. suhaib
[ October 20, 2007: Message edited by: Muhammad Saifuddin ]

Saifuddin..
[Blog][Linkedin] How To Ask Questions On JavaRanch My OpenSource
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: tomcat 6 jasper error.