• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

java.lang.NoClassDefFoundErro

 
Sunny Suresh
Greenhorn
Posts: 9
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Pie
Posts: 42966
73
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic