Vaadin grid-renderers-collection-addon打破了widgetset的编译

时间:2018-02-20 12:00:07

标签: compilation widget vaadin

我在maven项目的pom.xml中添加了grid-renderers-collection-addon:

<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>grid-renderers-collection-addon</artifactId>
    <version>0.94</version>
</dependency>

现在一切都坏了,即使我再次从pom.xml中删除了插件。 我收到了消息:

Failed to load the widgetset: ./../../VAADIN/widgetsets/AppWidgetset/AppWidgetset.nocache.js?1519127577157

我真的想使用插件,但我甚至不知道哪个是最新版本。我查看了涉及具有ProjectWidgetSet.gwt.xml文件的解决方案,但我不知道从哪里获取此文件。

vaadin.version是8.1.1,不确定插件是否与此版本匹配

1 个答案:

答案 0 :(得分:0)

我通过在pom.xml中注释掉一个重要的工件,启动服务(因错误而中止),然后再次添加工件来修复错误。 就是这件神器:

<dependency>
    <groupId>com.vaadin</groupId>
    <artifactId>vaadin-spring-boot-starter</artifactId>
</dependency>