无法在添加>>中查看已部署的Liferay Portlet.更多选择 [英] Unable to view deployed Liferay portlet in the add >> more option

查看:70
本文介绍了无法在添加>>中查看已部署的Liferay Portlet.更多选择的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了一个示例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.

步骤:

  1. 从webapps中删除该portlet的所有引用.
  2. 停止服务器
  3. 部署portlet的WAR
  4. 重新启动服务器
  5. 检查日志中是否部署了portlet.

如果可能,请尝试再次构建WAR并部署新的WAR,然后按照前面的步骤进行操作.

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

如果这种方法不起作用,请尝试清除tempwork目录,然后再次尝试前面的步骤.

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

希望这会有所帮助.

这篇关于无法在添加>>中查看已部署的Liferay Portlet.更多选择的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆