File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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: 63838

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:
subject: Cannot resolve symbol
It's not a secret anymore!