Win a copy of Spark in Action this week in the Open Source Projects forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

problem loading class for STRUTS

 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to install a struts example using Tomcat 4.1 which was installed as part of Sun One Studio which I using for development. I am using the xerces XML parser, have xerces.jar loaded into the class path. I also have struts.jar and the default WAR files loaded into the path. I get an error loading this class
web/index.jsp [2:0] Unable to load class org.apache.struts.taglib.html.HtmlTag
Thanks for the help,
Dinesh
 
Ranch Hand
Posts: 3695
IntelliJ IDE Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tomcat can be particular about where the jar files are located. If they're in the 'system classpath', that is usually not good enough.

http://jakarta.apache.org/tomcat/tomcat-4.1-doc/class-loader-howto.html
 
Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic