Search code examples
javaliferayliferay-ide

Custom JSP Search Empty?


I'm creating a new Hook in Liferay + Eclipse & I cannot find any of the Source JSP files under the "Select Liferay Portal JSP" Window - basically I can't search any of the JSPs that exist in Liferay, the only thing that shows up is index.jsp.

So far I've tried

  • Uninstalling/Reinstalling Liferay ID
  • Installing a new Plugins SDK
  • Creating a new project
  • Creating a new Eclipse workspace
  • Deleting and re-adding a Liferay Plugin API to the build path

Nothing so far has worked - Has anyone had this issue before?

enter image description here


Solution

  • These JSP suggestions would come from a connected Liferay server - you'll need more than just the SDK (because it doesn't contain all of Liferay's JSPs.

    So: Create a Liferay server runtime (point to a tomcat bundle) and IDE will find the JSPs