aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes cannot find tag library descryptor error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "cannot find tag library descryptor error" Watch "cannot find tag library descryptor error" New topic
Author

cannot find tag library descryptor error

sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1131
this is my java class



this is my Tdl file


this is my jsp.
[code]
<%@ taglib prefix="mine" uri="DiceFunctions"%>
<html><body>
${mine:rollIt()}
</body></html>
[code]
in the jsp file there are two errors.
first one shows at " uri="DiceFunctions"% ".
error is cannot find tag library descryptor

and second one is " ${mine:rollIt()} "
EL syntax error.
this example is get by an ebook.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61226
    
  66

Did you place your TLD (not Tdl ) file under WEB-INF?

It'd also be a good idea to follow standard URI conventions.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
sam liya
Ranch Hand

Joined: Nov 25, 2008
Posts: 1131
yes .I am using eclips as IDE.
My TDL file is in WEB-INF derectory.
my java class is in WEB-INF/classes/foo
my jsp is in WebContemt folder.
then where is the error?
Balu Sadhasivam
Ranch Hand

Joined: Jan 01, 2009
Posts: 874

aruna sameera wrote:yes .I am using eclips as IDE.
My TDL file is in WEB-INF derectory.
my java class is in WEB-INF/classes/foo
my jsp is in WebContemt folder.
then where is the error?



repeat : Its tld not TDL or tdl or other combinations.
Save the file with .tld extension.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61226
    
  66

Please be sure to ask IDE questions in the IDEs forum. I have moved this post there for you.
lakshmanan anand
Greenhorn

Joined: Jan 13, 2009
Posts: 22
I found the solution for it....

I am also using eclipse

You should add another element in the tld file. That element is <jsp-version> . It seems it is mandatory. So add that as given below. Still eclipse "will" show a syntax error. Ignore that. Restart tomcat and run the file. You will get the output. I got it.
Not <jsp-verison> element below/
The tld file is





http://luckydev07.blogspot.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cannot find tag library descryptor error