【发布时间】:2020-05-14 06:34:54
【问题描述】:
有人在 Liferay DXP 中创建过 Bean Portlet 吗?
我跟进https://help.liferay.com/hc/en-us/articles/360028708772-Creating-a-Bean-Portlet并执行了命令
mvn archetype:generate -DarchetypeGroupId=com.liferay -DarchetypeArtifactId=com.liferay.project.templates.cdi.bean.portlet -DarchetypeVersion=1.0.0 -DgroupId=com.mycompany -DartifactId=com.mycompany.demo.bean.portlet
但出现以下错误。
[错误] 无法执行目标 org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate (default-cli) on project Standalone-pom: 所需的原型不存在 (com.liferay :com.liferay.project.templates.cdi.bean.portlet:1.0.0) -> [帮助1]
好像模板不见了!
感谢和问候,
帕斯吉亚
【问题讨论】:
标签: liferay liferay-7 liferay-dxp