无法在添加>>中查看已部署的Liferay Portlet.更多选择 [英] Unable to view deployed Liferay portlet in the add >> more option
问题描述
我已经创建了一个示例Liferay Portlet,并且已经成功部署了它.但是,eclipse控制台没有说已经准备好使用1个Portlet".而且,我在Liferay页面的添加>>更多.."选项中找不到此portlet.
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 in the Add >> More.. option on a Liferay page.
推荐答案
正如 Mark 所述,它是不确定的,它有时会发生.我通常会按照以下步骤操作,然后正常运行.
As Mark mentioned, it is undeterministic and it sometimes happen. I usually follow the following steps and after this it works normally.
步骤:
- 从webapps中删除该portlet的所有引用.
- 停止服务器
- 部署portlet的WAR
- 重新启动服务器
- 检查日志中是否部署了portlet.
如果可能,请尝试再次构建WAR并部署新的WAR,然后按照前面的步骤进行操作.
If possible try to build the WAR again and deploy the new WAR, and follow the previous steps.
如果这种方法不起作用,请尝试清除temp
和work
目录,然后再次尝试前面的步骤.
Also if this doesn't work try to clear the temp
and work
directory and again try the previous steps.
希望这会有所帮助.
这篇关于无法在添加>>中查看已部署的Liferay Portlet.更多选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!