• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Knute Snortum
  • Paul Clapham
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Ron McLeod
  • Piet Souris
  • Frits Walraven
Bartenders:
  • Ganesh Patekar
  • Tim Holloway
  • salvin francis

tomcat 6 jasper error.  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ranch Hand
Posts: 1325
Android Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to Javaranch,

Thanks for providing the solution.. suhaib
[ October 20, 2007: Message edited by: Muhammad Saifuddin ]
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!