• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot find the tag class BaseTag

 
Ranch Hand
Posts: 485
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all
i am trying to deploy a struts based web application in weblogic...
so i created a war file and deployed it in the server..
when i tried to invoke one of JSP, i am getting the following error.....


/reprocessCriteria.jsp(2): Error in using tag library uri='/WEB-INF/struts-html.tld' prefix='html': cannot find tag class: 'org.apache.struts.taglib.html.BaseTag'


i placed the struts.jar inside /WEB-INF/lib folder..
but still i am getting that error....
Any idea how to solve???
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
May be problem with u r struts.jar file. extract u r jar file and check the "BaseTag.class" file. If it is not available dowload a fresh jar file from here
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
We were also facing the same problem.
The solution to this is to use correct version of the.tld file.

Compare the file
/WEB-INF/struts-html.tld
and the file present in struts.jar \META-INF\tlds\struts-html.tld

There must be some differences between these 2 files. Just copy the file from Jar to web-inf file and it will work.

 
reply
    Bookmark Topic Watch Topic
  • New Topic