0

使用Felix Gogo Shell将 Vaadin OSGI portlet 所需的捆绑包部署到 Liferay 7.0过去是使用命令完成的,例如捆绑包:blade sh startvaadin-shared

blade sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-shared/8.11.3/vaadin-shared-8.11.3.jar

但是,它不再适用于 Liferay 7.3

blade sh start https://repo1.maven.org/maven2/com/vaadin/vaadin-shared/8.11.3/vaadin-shared-8.11.3.jar
start https://repo1.maven.org/maven2/com/vaadin/vaadin-shared/8.11.3/vaadin-shared-8.11.3.jar
gogo: IllegalArgumentException: Cannot coerce start(Token) to any of [(Bundle[])]

如何将捆绑包部署到 Liferay 7.3

4

1 回答 1

1

您必须使用 Gogo shell 命令installstartLiferay 7.3

1.blade sh install
blade sh install https://repo1.maven.org/maven2/com/vaadin/vaadin-shared/8.11.3/vaadin-shared-8.11.3.jar
install https://repo1.maven.org/maven2/com/vaadin/vaadin-shared/8.11.3/vaadin-shared-8.11.3.jar
Bundle ID: 1210
2.blade sh start
blade sh start 1210
start 1210
于 2020-09-19T20:21:16.693 回答