liferay-plugins-sdk-5.1.2中所需要更换的portlet
the portlets.zip files, which provide portlets directory skeleton, needs to be changed by a correct one. On a *nix/MacOS machine, proceed as follow: cd liferay-plugins-sdk-5.1.2/portlets rm portlet.zip and download it from here !