我们想升级。 7 至 8. vaadin 应用程序。 我尝试迁移应用程序 vaadin 框架迁移工具等。 此外,我们有自定义小部件集,我按照说明进行操作https://vaadin.com/forum/thread/15031831/vaadin-8-compatibility-widgetset-implementation-missing-for-v7-component
所以,虽然我们自定义的 wigdetset gwt xml 包含 “继承名称=“com.vaadin.v7.Vaadin7WidgetSet”
Widgetset 'XXXXXXWidgetset' 不包含 com.vaadin.v7.ui.TextField 的实现。检查连接器的@Connect 映射、小部件集的 GWT 模块描述文件并重新编译您的小部件集。如果您已经下载了 vaadin 附加包,您可能需要参考
请帮助我。谢谢。
----pom.xml
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-server</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-client-compiler</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-push</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-themes</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-charts</artifactId>
<version>4.3.1</version>
</dependency>
使用
com.vaadin.v7.ui.TextField
将需要您具有以下依赖项
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-compatibility-client</artifactId>
<version>8.14.3</version>
<scope>provided</scope>
</dependency>