aspose file tools
The moose likes Portals and Portlets and the fly likes Unable to locate tag library for uri http://java.sun.com Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Portals and Portlets
Reply Bookmark "Unable to locate tag library for uri http://java.sun.com" Watch "Unable to locate tag library for uri http://java.sun.com" New topic
Author

Unable to locate tag library for uri http://java.sun.com

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I am getting the following exception whenever i try to load up my page



This is the content of my page
Joe Matthew
Ranch Hand

Joined: Jun 10, 2008
Posts: 66
Can you elaborate more on the portal server you are using? Whether you have a TLD in your class path will define this URL? The URL does not refer to any thing as such.

Basically more info would be nice!


Regards,<br />Joe<br /> <br />"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live."<br />--Martin Golding
Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
Originally posted by Joe Mathew:
Can you elaborate more on the portal server you are using? Whether you have a TLD in your class path will define this URL? The URL does not refer to any thing as such.

Basically more info would be nice!


I am using Webpshere Portal Server 6.0 Server, And i don't see a TLD in my WEB-INF
Joe Matthew
Ranch Hand

Joined: Jun 10, 2008
Posts: 66
Check web.xml for this tag:

<taglib id="PortletTLD">
<taglib-uri>http://java.sun.com/portlet</taglib-uri>
<taglib-location>/WEB-INF/tld/std-portlet.tld</taglib-location>
</taglib>

If not add it and test it.

Let me know how it goes.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unable to locate tag library for uri http://java.sun.com
 
Similar Threads
Compiling JSP+ Tag in Tomcat 4.0.3/Forte IDE 2.0
cannot find the declaration of element taglib
JSF in RAD 7.0
Tag Attributes
JSP EL not working