• Post Reply Bookmark Topic Watch Topic
  • New Topic

compile problem with custom tag  RSS feed

 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The first time I try to access my jsp with a custom tag I get the following compile error in Tomcat:

The custom tag is in the WEB-INF/classes folder and is not part of a package. I am not sure where the org.apache.jsp is coming from because I did not put it in that package. The .tld file and the web.xml file appear to be ok because I get a different error relating to finding the class without a package. It doesn't even attempt to compile the jsp.
 
Matthew Phillips
Ranch Hand
Posts: 2676
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was able to resolve the issue by putting the custom tag class in a package, but I am still not sure why it didn't work without being in a package.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!