[09:13:32 CDT(-0500)] <rickard> I'm going crazy trying to get Eclipse to stop warning me about missing tag handler classes in portlet.tld. I've added portlet.tld to WEB-INF/tld, but then I get the following warnings:
[09:13:35 CDT(-0500)] <rickard> The tag handler class for "actionURL" (org.apache.pluto.tags.ActionURLTag) was not found on the Java Build Path
[09:14:19 CDT(-0500)] <rickard> This is a line in portlet.tld. I tried adding pluto-taglib-1.1.7.jar to the build path, but that doesn't help.
[09:15:01 CDT(-0500)] <rickard> I know uPortal sorts this out when it's deployed, but I like to keep the Eclipse markers window clean from any warnings.
[09:15:04 CDT(-0500)] <rickard> Any ideas?
[09:55:12 CDT(-0500)] <athena> rickard: sounds like you need the portlet api jars on the classpath
[09:55:21 CDT(-0500)] <athena> you might want to try using M2Eclipse
[09:55:44 CDT(-0500)] <athena> that'll resolve all the dependencies for you from the POM file automatically so that you don't have to do any manual build path setup
[09:57:16 CDT(-0500)] <rickard> athena: I have portlet-api-1.0.jar in the build path.
[09:57:36 CDT(-0500)] <rickard> We're currently not using Maven at all, so this is just a very simple vanilla portlet.
[09:57:49 CDT(-0500)] <athena> oh oh - this is for a portlet, not for uportal
[09:57:57 CDT(-0500)] <rickard> Ah, yes. Sorry about that
[09:58:01 CDT(-0500)] <athena> no worries
[09:58:05 CDT(-0500)] * athena is not quite awake yet
[09:58:57 CDT(-0500)] <athena> have you tried having the pluto taglib jar on the classpath, and not adding the tld to the project? i think that's our typical setup
[09:59:28 CDT(-0500)] <rickard> I'll give it a go.
[09:59:41 CDT(-0500)] <athena> the pluto and portlet libraries need to not actually be deployed w/ the project themselves though
[10:00:02 CDT(-0500)] <athena> uportal puts them in shared/lib, so if they're in the deployed classpath twice that can cause problems too
[10:00:06 CDT(-0500)] <athena> will be back in a few
[10:01:56 CDT(-0500)] <rickard> I don't deploy them with the project. Just add them as external libraries in eclipse.
[10:02:25 CDT(-0500)] <rickard> I tried without portlet.tld, but with the pluto taglib jar in the build path, but no change.
[10:02:31 CDT(-0500)] <rickard> I still get: The tag handler class for "actionURL" (org.apache.pluto.tags.ActionURLTag) was not found on the Java Build Path
[10:03:01 CDT(-0500)] <rickard> Oh well, I've spent enough time on this now. It works when I deploy the portlet so I guess I can live with the warnings.
Page Comparison
General
Content
Integrations