0

有人在 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

但得到以下错误。

[错误] 无法在项目 Standalone-pom 上执行目标 org.apache.maven.plugins:maven-archetype-plugin:3.1.2:generate (default-cli):所需的原型不存在 (com.liferay:com. liferay.project.templates.cdi.bean.portlet:1.0.0) -> [帮助 1]

好像模板不见了!

感谢和问候,

帕特吉亚

4

1 回答 1

0

We get the same error - I believe that the reason is that the related development ticket is still in the "In Review" Status: https://issues.liferay.com/browse/LPS-83990

You can create a Jira account and vote on this ticket to show the developers that many people are interested in this feature.

Best Regards, Peter

于 2020-06-10T16:01:16.197 回答