File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes java.lang.NoClassDefFoundErro Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "java.lang.NoClassDefFoundErro" Watch "java.lang.NoClassDefFoundErro" New topic


Sunny Suresh

Joined: Mar 09, 2006
Posts: 9

i am getting Exception for pre-compiling JSP's
Here i am using Tomcat 5 and JSP2.0 and Servelet 2.4

i added standard-1.1.jar,jstl-1.1.jar as classpath.
jsp-api.jar contains in Tomcat 5.0.24\common\lib folder.

JSP starts like this way:<%@ taglib uri="" prefix="c" %>

and web.xml starts like :
<?xml version="1.0" encoding="ISO-8859-1"?>

<web-app version="2.4" xmlns=""

Still i am getting Exception.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Which class is missing?

Note that Tomcat ignores the classpath. If it's one of the JSTL classes that's not found, put the jar files into WEB-INF/common/lib.
I agree. Here's the link:
subject: java.lang.NoClassDefFoundErro
It's not a secret anymore!