The moose likes Tomcat and the fly likes problem loading class for STRUTS Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Reply Bookmark "problem loading class for STRUTS" Watch "problem loading class for STRUTS" New topic
Author

problem loading class for STRUTS

dinesh prasad
Greenhorn

Joined: Jun 03, 2003
Posts: 27
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
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

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
 
 
subject: problem loading class for STRUTS
 
Threads others viewed
Using Native interface in JSP
problem loading a class for STRUTS
Duplicate Classes
How can you find out what JARs you really use?
Problem in Java Class Loading process
developer file tools