Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Shankar Baba
Portlet error
December 6, 2012 4:05 AM
Answer

Shankar Baba

Rank: Regular Member

Posts: 144

Join Date: October 17, 2012

Recent Posts

Hi, while creating a portlet iam getting the below error, can any one plese tell the solution for this.
iam sending the stacktrace

uneon@uneon-desktop:~/Liferay-Sri/liferay-plugins-sdk-6.1.1/portlets$ sudo sh ./create.sh Srikanth "Srikanth"
Buildfile: /home/uneon/Liferay-Sri/liferay-plugins-sdk-6.1.1/portlets/build.xml

create:
Copying 9 files to /home/uneon/Liferay-Sri/liferay-plugins-sdk-6.1.1/portlets/Srikanth-portlet
Created dir: /home/uneon/Liferay-Sri/liferay-plugins-sdk-6.1.1/portlets/Srikanth-portlet/docroot/WEB-INF/tld

BUILD FAILED
/home/uneon/Liferay-Sri/liferay-plugins-sdk-6.1.1/portlets/build.xml:221: /home/uneon/Liferay-Sri/bundles/tomcat-7.0.27/webapps/ROOT/WEB-INF/tld does not exist.

Total time: 0 seconds
Hitoshi Ozawa
RE: Portlet error
December 6, 2012 4:47 AM
Answer

Hitoshi Ozawa

Rank: Liferay Legend

Posts: 7952

Join Date: March 23, 2010

Recent Posts

You probably haven't setup your environment correctly. It's not finding the liferay tomcat installation.