This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "java.lang.NoClassDefFoundErro" Watch "java.lang.NoClassDefFoundErro" New topic
Author

java.lang.NoClassDefFoundErro

Sunny Suresh
Greenhorn

Joined: Mar 09, 2006
Posts: 9
Hi,

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="http://java.sun.com/jsp/jstl/core" prefix="c" %>

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

<web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

Still i am getting Exception.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41068
    
  43
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.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: java.lang.NoClassDefFoundErro
 
Similar Threads
Getting setup with JSTL
Help me out for EL
JSTL Exception
JSTL EL language not resolving
c:forEach doubt