I’m running MyEclipse Blue 9 with an install of Portal Express 7. I have a portlet project from RAD that I’ve imported with SVN and I’m trying to get it to build on Blue.
I ran the “Enhance RAD project..” option and pointed the server runtime to Portal 7. I then ran “Add Portlet Capabilities” on the project. I selected the 268 Portlet since I do not have a running Portal 6.1*. I pointed that to Portal 7. I also added the two jar files (from v7) mentioned in the Tutorial for WebSphere 6.0/6.1 168 portlets. I’ve tried it with and without those files.
Problem: I get “Can not find the tag library descriptor for “/WEB-INF/tld/portlet.tld” for all JSP files that have this in the header: “<%@ taglib uri=”/WEB-INF/tld/portlet.tld” prefix=”portletAPI”%>”
The web.xml also now has this declaration that isn’t in the one from the repository:
<taglib id=”PortletTLD”>
<taglib-uri>http://java.sun.com/portlet</taglib-uri>
<taglib-location>/WEB-INF/tld/std-portlet.tld</taglib-location>
</taglib>
I have the following libraries on the build path now: WebSphere Runtime, Web App Libraries, WebSphere Portal v7.0, JRE System Library (1.4 – b/c this is what it was on previously). Any ideas? Shouldn’t the jar for the portlet tld be picked up from the runtime or the Portlet capabilities?
* I do have the stub for Portal 6.1 and a version of Application server v6.1. I tried an iteration putting those in and still had no luck.