无法成功部署liferay portlet

无法成功部署liferay portlet,liferay,liferay-ide,Liferay,Liferay Ide,我一直遵循中的教程,并按照所述为liferay构建了portlet。我有一个工作的liferay环境,可以添加和删除所有标准Portlet 当尝试将我制作的porlet推送到服务器时,我可以看到它已正确部署到服务器。见下面的日志 INFO: Deploying web application directory /Users/marc.thomas/Downloads/liferay/bundles/tomcat 7.0.62/webapps/guestbook-portlet Mar 04,

我一直遵循中的教程,并按照所述为liferay构建了portlet。我有一个工作的liferay环境,可以添加和删除所有标准Portlet

当尝试将我制作的porlet推送到服务器时,我可以看到它已正确部署到服务器。见下面的日志

INFO: Deploying web application directory /Users/marc.thomas/Downloads/liferay/bundles/tomcat 7.0.62/webapps/guestbook-portlet
Mar 04, 2016 10:49:53 AM org.apache.catalina.startup.TldConfig execute
INFO: At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
Mar 04, 2016 10:49:53 AM org.apache.catalina.startup.HostConfig deployDirectory
INFO: Deployment of web application directory /Users/marc.thomas/Downloads/liferay/bundles/tomcat-7.0.62/webapps/guestbook-portlet has finished in 900 ms
Mar 04, 2016 10:49:53 AM org.apache.catalina.startup.HostConfig deployDirectory
我已将完整日志和代码放在我的github帐户中:

在该日志中,没有liferay拾取portlet并部署它,即使它已部署到tomcat


我看不出还有什么可以查的。有人能帮忙吗?

当您部署portlet插件时,将WAR文件复制到Liferay的
deploy
文件夹(在
/Users/marc.thomas/Downloads/Liferay/bundles/
中找到它)。Liferay将负责注入一些必需的组件,并将其部署到tomcat本身

仅将构建结果部署到应用服务器通常不起作用(除非您专门更改构建过程以包含注入的功能)

更正:根据日志文件,您似乎在初次安装后移动了安装:

10:49:49,077 INFO [localhost-startStop-1][AutoDeployDir:139] Auto deploy scanner started for /Users/marc.thomas/Downloads/liferay-portal-6.2-ce-ga6/deploy
这就是您需要删除构建结果的地方