Liferay - Eclipse alloy tag library error -
i developing portlet runs on liferay portal (i have liferay+tomcat7 bundle, later run on jboss). using eclipse helios liferay ide , liferay sdk.
in .jsp files, use alloy:
<%@ taglib uri="http://liferay.com/tld/aui" prefix="aui" %>
everything works fine - portlet gets deployed , shown correctly. problem is, eclipse marking error:
description resource path location type can not find tag library descriptor "http://liferay.com/tld/aui" edit.jsp /portletvisual-portlet/docroot line 2 jsp problem
this cosmetic error. liferay ide in eclipse evidently doesnt understand these dependencies, although project works fine. can live "error marker", doesnt bother me much. curious if there way fix it.
thanks tips!
edit: web.xml file:
<?xml version="1.0" encoding="utf-8"?> <web-app id="webapp_id" version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/xmlschema-instance" xsi:schemalocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"> <display-name>portletvisual-portlet</display-name> <jsp-config> <taglib> <taglib-uri>http://java.sun.com/portlet_2_0</taglib-uri> <taglib-location>/web-inf/tld/liferay-portlet.tld</taglib-location> </taglib> <taglib> <taglib-uri>http://liferay.com/tld/aui</taglib-uri> <taglib-location>/web-inf/tld/aui.tld </taglib-location> </taglib> </jsp-config> </web-app>
try one:
<taglib> <taglib-uri>http://liferay.com/tld/aui</taglib-uri> <taglib-location>/web-inf/tld/liferay-aui.tld</taglib-location> </taglib>
if not working try here
hope helped! luck!!!!
Comments
Post a Comment