Unable to view deployed Liferay portlet in the add >> more option

后端 未结 4 1729
野的像风
野的像风 2021-02-20 10:45

I have created a sample Liferay portlet and it has successfully deployed. But, the eclipse console didn\'t say \"1 portlet is ready for use\". And, I couldn\'t find this portlet

4条回答
  •  萌比男神i
    2021-02-20 11:21

    As Mark mentioned, it is undeterministic and it sometimes happen. I usually follow the following steps and after this it works normally.

    Steps:

    1. remove all the references of the portlet from webapps.
    2. stop the server
    3. deploy the portlet's WAR
    4. restart the server
    5. check the logs if the portlet is deployed.

    If possible try to build the WAR again and deploy the new WAR, and follow the previous steps.

    Also if this doesn't work try to clear the temp and work directory and again try the previous steps.

    Hope this helps.

提交回复
热议问题