wood burning stoves 2.0
The moose likes JSP and the fly likes Cannot resolve symbol Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Cannot resolve symbol" Watch "Cannot resolve symbol" New topic

Cannot resolve symbol

Nischal Tanna
Ranch Hand

Joined: Aug 19, 2003
Posts: 182
Hi guys..I m creating my first ever custom tag so need help from u all..!
I have put my tag handler class ine /WEB-INF/classes folder.
My tld file is kept in /WEB-INF folder.
I m posting my tld file code as below:

My web.xml code is as below:

My jsp code is as below:

pls check out my code n point if ne error..neways now when i execute my jsp on the browser..
I m getting the error as :
cannot resolve symbol : helloworldtag.class
i.e., class is not found..
Hoping for many replies of my IT techies.

Tim Baker
Ranch Hand

Joined: Oct 04, 2003
Posts: 541
is your class called helloworldtag.class with that exact capitalisation? are you sure it isn't in a package? if its in a package you need to recreate the package directories within the classes folder.

Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63866

And some containers have a problem with package-less classes. It'd be best to put your classes into a package structure.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link: http://aspose.com/file-tools
subject: Cannot resolve symbol
jQuery in Action, 3rd edition