• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

java.lang.NoClassDefFoundError: javax/servlet/jsp/tagext/TagLibraryValidator

 
Greenhorn
Posts: 15
Android MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
 
satheesh Valluru
Greenhorn
Posts: 15
Android MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The list of jars i added are
antlr-2.7.2.jar
bsf-2.3.0.jar
jstl-1.0.2.jar
standard-1.0.6.jar
strurts-core-1.3.10.jar
struts-el-1.3.10.jar
struts-taglib-1.3.10.jar
struts-scripting-1.3.10.jar
jap-api.jar
servlet-api.jar
 
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is "jap-api.jar" a typo? You should not need to "add" that (or servlet-api.jar) to anything - they're part of the servlet container.

What servlet container and version are you using? JSTL 1.0 is way obsolete. You should migrate to JSTL 1.2.1.
 
satheesh Valluru
Greenhorn
Posts: 15
Android MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks for the reply.
No its jsp-api.jar which is in the tomcat library only not in lib.
Do i need to change any other files if i change the jstl file to 1.2 version
 
Ulf Dittmer
Rancher
Posts: 43026
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

its jsp-api.jar which is in the tomcat library only not in lib.


What is the difference between these two directories? I have never seen a TC version that had a "library" directory; that sounds fishy. The Servlet and JSP API jar files needs to be in TOMCAT_HOME/lib (at least for TC 6 and 7, and while you didn't say which version you were using, you should not use anything older than TC 7 at this point.)

You can download JSTL from https://jstl.java.net/download.html; you need both the API and implementation jar files. Note that this has nothing to do with the issue at hand, though.
 
satheesh Valluru
Greenhorn
Posts: 15
Android MyEclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for not being specific.. the lib folder i mean is the Webcontent/WEB-INF/lib folder..

Iam using the Tomcat & Version.And surprisingly the problem solved when i used a fresh copy of eclipse..May be i had done some unuseful changes in the eclipse Configuration.
 
reply
    Bookmark Topic Watch Topic
  • New Topic