Important Notice - Forums is archived
To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Trouble with maven and widgetsets
Hi all,
I'm getting maven and compiling widgetset (in my case easyuploads) not to work. Every time I calling the web site which contains EasyUploads I get
Failed to load the widgetset: ./VAADIN/widgetsets/com.coco_on.docFlow.vaadin.AppWidgetSet/com.coco_on.docFlow.vaadin.AppWidgetSet.nocache.js?148024587923
or
DROP
FILES
Widgetset 'com.coco_on.docFlow.vaadin.AppWidgetSet' does not contain implementation
for org.vaadin.easyuploads.MultiUpload. Check its component connector's @Connect
mapping, widgetsets GWT module description file and re-compile your widgetset. In
case you have downloaded a vaadin add-on package, you might want to refer to add-on
instructions
I think there must be anything missing in my pom.
My pom.xml (of the war project) is:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>DFl_Version</artifactId>
<groupId>com.coco_on.docFlow</groupId>
<version>2.3.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>DFl_Vaadin</artifactId>
<packaging>war</packaging>
<prerequisites>
<maven>3</maven>
</prerequisites>
<scm>
<connection>scm:svn:https://maven:***@192.168.1.2/repos/c-onDocFlow/trunk/c-onDocFlowVaadin/</connection>
<developerConnection>scm:svn:https://maven:***@192.168.1.2/repos/c-onDocFlow/trunk/c-onDocFlowVaadin/</developerConnection>
<tag>HEAD</tag>
<url>https://maven:***@192.168.1.2/repos/c-onDocFlow/trunk/c-onDocFlowVaadin/</url>
</scm>
<properties>
<vaadin.version>7.7.3</vaadin.version>
<vaadin.plugin.version>7.7.3</vaadin.plugin.version>
<!-- jetty.plugin.version>9.3.9.v20160517</jetty.plugin.version -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<!-- If there are no local customisations, this can also be "fetch" or "cdn" -->
<vaadin.widgetset.mode>local</vaadin.widgetset.mode>
<arquillian-version>1.1.4.Final</arquillian-version>
<arquillian-wildfly-version>8.1.0.CR2</arquillian-wildfly-version>
<arquillian-transaction-version>1.0.1.Final</arquillian-transaction-version>
<enable-devel-mode-start><!--</enable-devel-mode-start>
<enable-devel-mode-end>--></enable-devel-mode-end>
<enable-prod-mode-start></enable-prod-mode-start>
<enable-prod-mode-end></enable-prod-mode-end>
</properties>
<profiles>
<profile>
<id>production</id>
<properties>
<enable-devel-mode-start></enable-devel-mode-start>
<enable-devel-mode-end></enable-devel-mode-end>
<enable-prod-mode-start><!--</enable-prod-mode-start>
<enable-prod-mode-end>--></enable-prod-mode-end>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<!-- Exclude an unnecessary file generated by the GWT compiler. -->
<packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<SCM-Revision>${buildNumber}</SCM-Revision>
</manifestEntries>
</archive>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>**/web.xml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<phase>validate</phase>
<goals>
<goal>create</goal>
</goals>
</execution>
</executions>
<configuration>
<doCheck>true</doCheck>
<doUpdate>true</doUpdate>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<repositories>
<repository>
<id>vaadin-addons</id>
<url>http://maven.vaadin.com/vaadin-addons</url>
</repository>
</repositories>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-bom</artifactId>
<version>${vaadin.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.vaadin.addon</groupId>
<artifactId>easyuploads</artifactId>
<version>7.4.10</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>6.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-server</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-push</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-client-compiled</artifactId>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-themes</artifactId>
</dependency>
<!-- dependency>
<groupId>com.vaadin.external.gwt</groupId>
<artifactId>gwt-codeserver</artifactId>
<version>2.7.0.vaadin4</version>
</dependency>
<dependency>
<groupId>com.vaadin.external.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.7.0.vaadin4</version -->
<!-- scope>provided</scope -->
<!-- /dependency -->
<dependency>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
<version>1.2.17</version>
</dependency>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-testbench</artifactId>
<version>4.1.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.dbunit</groupId>
<artifactId>dbunit</artifactId>
<version>2.5.3</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.coco_on.tools</groupId>
<artifactId>CSVReporter</artifactId>
<version>0.0.1-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>com.coco_on.docFlow</groupId>
<artifactId>DFl_EJB</artifactId>
<version>2.3.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.9.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.jboss.logmanager</groupId>
<artifactId>jboss-logmanager</artifactId>
<version>2.0.4.Final</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>9.4.1211</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>2.6</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
<!-- Exclude an unnecessary file generated by the GWT compiler. -->
<packagingExcludes>WEB-INF/classes/VAADIN/widgetsets/WEB-INF/**</packagingExcludes>
<archive>
<manifest>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
<addDefaultSpecificationEntries>true</addDefaultSpecificationEntries>
</manifest>
<manifestEntries>
<SCM-Revision>0000</SCM-Revision>
</manifestEntries>
</archive>
<webResources>
<resource>
<filtering>true</filtering>
<directory>src/main/webapp</directory>
<includes>
<include>**/web.xml</include>
</includes>
</resource>
</webResources>
</configuration>
</plugin>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.plugin.version}</version>
<executions>
<execution>
<goals>
<goal>update-widgetset</goal>
<goal>compile</goal>
<goal>update-theme</goal>
<!-- Comment out compile-theme goal to use on-the-fly theme compilation -->
<goal>compile-theme</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.0.0</version>
<!-- Clean up also any pre-compiled themes -->
<configuration>
<filesets>
<fileset>
<directory>src/main/webapp/VAADIN/themes</directory>
<includes>
<include>**/styles.css</include>
<include>**/styles.scss.cache</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<!-- The Jetty plugin allows us to easily test the development build by
running jetty:run on the command line. -->
<!-- plugin>
<groupId>org.eclipse.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>
<version>${jetty.plugin.version}</version>
<configuration>
<scanIntervalSeconds>2</scanIntervalSeconds>
</configuration>
</plugin -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>unpack</id>
<phase>process-test-classes</phase>
<goals>
<goal>unpack</goal>
</goals>
<configuration>
<artifactItems>
<artifactItem>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-dist</artifactId>
<version>8.1.0.Final</version>
<type>zip</type>
<overWrite>false</overWrite>
<outputDirectory>target</outputDirectory>
</artifactItem>
</artifactItems>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
</build>
</project>
If I run 'mvn vaadin:update-widgetset vaadin:compile' I get:
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building DFl_Vaadin 2.3.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- vaadin-maven-plugin:7.7.3:update-widgetset (default-cli) @ DFl_Vaadin ---
[INFO] auto discovered modules [com.coco_on.docFlow.vaadin.AppWidgetSet]
[INFO] Updating widgetset com.coco_on.docFlow.vaadin.AppWidgetSet
[INFO] Adding resource directory to command classpath: /home/.data/stewert/projects/java/eclipse/c-onDocFlow/DFl_Vaadin/src/main/resources
[INFO] Using com.vaadin:vaadin-client-compiler version 7.7.3
[INFO] Widgetsets found from classpath:
[INFO] org.vaadin.easyuploads.Widgetset in jar:file:/home/stewert/.m2/repository/org/vaadin/addon/easyuploads/7.4.10/easyuploads-7.4.10.jar!/
[INFO] com.vaadin.DefaultWidgetSet in jar:file:/home/stewert/.m2/repository/com/vaadin/vaadin-client/7.7.3/vaadin-client-7.7.3.jar!/
[INFO] Addon styles found from classpath:
[INFO]
[INFO] Search took 4ms
[INFO]
[INFO] --- vaadin-maven-plugin:7.7.3:compile (default-cli) @ DFl_Vaadin ---
[INFO] auto discovered modules [com.coco_on.docFlow.vaadin.AppWidgetSet]
[INFO] Using com.vaadin:vaadin-client-compiler version 7.7.3
[INFO] Compiling module com.coco_on.docFlow.vaadin.AppWidgetSet
[INFO] Computing all possible rebind results for 'com.vaadin.client.metadata.ConnectorBundleLoader'
[INFO] Rebinding com.vaadin.client.metadata.ConnectorBundleLoader
[INFO] Invoking generator com.vaadin.server.widgetsetutils.ConnectorBundleLoaderFactory
[INFO] Populating eager bundle
[INFO] Visiting JavaScriptExtension with ConnectorInitVisitor
[INFO] JavaScriptExtension will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.JavaScriptExtensionState as a bean
[INFO] Will serialize class com.vaadin.shared.communication.URLReference using URLReference_Serializer
[INFO] Visiting BrowserWindowOpenerConnector with ConnectorInitVisitor
[INFO] BrowserWindowOpenerConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.BrowserWindowOpenerState as a bean
[INFO] Visiting FileDownloaderConnector with ConnectorInitVisitor
[INFO] FileDownloaderConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.communication.SharedState as a bean
[INFO] Visiting ResponsiveConnector with ConnectorInitVisitor
[INFO] ResponsiveConnector will be in the eager bundle
[INFO] Visiting RpcDataSourceConnector with ConnectorInitVisitor
[INFO] RpcDataSourceConnector will be in the eager bundle
[INFO] Visiting AbsoluteLayoutConnector with ConnectorInitVisitor
[INFO] AbsoluteLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.absolutelayout.AbsoluteLayoutState as a bean
[INFO] Visiting JavaScriptComponentConnector with ConnectorInitVisitor
[INFO] JavaScriptComponentConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.JavaScriptComponentState as a bean
[INFO] Visiting AccordionConnector with ConnectorInitVisitor
[INFO] AccordionConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.accordion.AccordionState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.tabsheet.TabState as a bean
[INFO] Visiting AudioConnector with ConnectorInitVisitor
[INFO] AudioConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.audio.AudioState as a bean
[INFO] Visiting BrowserFrameConnector with ConnectorInitVisitor
[INFO] BrowserFrameConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.browserframe.BrowserFrameState as a bean
[INFO] Visiting ButtonConnector with ConnectorInitVisitor
[INFO] ButtonConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.button.ButtonState as a bean
[INFO] Visiting CheckBoxConnector with ConnectorInitVisitor
[INFO] CheckBoxConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.checkbox.CheckBoxState as a bean
[INFO] Visiting ComboBoxConnector with ConnectorInitVisitor
[INFO] ComboBoxConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.combobox.ComboBoxState as a bean
[INFO] Visiting CssLayoutConnector with ConnectorInitVisitor
[INFO] CssLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.csslayout.CssLayoutState as a bean
[INFO] Visiting CustomComponentConnector with ConnectorInitVisitor
[INFO] CustomComponentConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.AbstractComponentState as a bean
[INFO] Visiting CustomFieldConnector with ConnectorInitVisitor
[INFO] CustomFieldConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.AbstractFieldState as a bean
[INFO] Visiting CustomLayoutConnector with ConnectorInitVisitor
[INFO] CustomLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.customlayout.CustomLayoutState as a bean
[INFO] Visiting DateFieldConnector with ConnectorInitVisitor
[INFO] DateFieldConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.datefield.PopupDateFieldState as a bean
[INFO] Will serialize class java.util.Date using Date_Serializer
[INFO] Visiting DragAndDropWrapperConnector with ConnectorInitVisitor
[INFO] DragAndDropWrapperConnector will be in the eager bundle
[INFO] Visiting EmbeddedConnector with ConnectorInitVisitor
[INFO] EmbeddedConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.embedded.EmbeddedState as a bean
[INFO] Visiting FlashConnector with ConnectorInitVisitor
[INFO] FlashConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.flash.FlashState as a bean
[INFO] Visiting FormConnector with ConnectorInitVisitor
[INFO] FormConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.form.FormState as a bean
[INFO] Visiting FormLayoutConnector with ConnectorInitVisitor
[INFO] FormLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.orderedlayout.FormLayoutState as a bean
[INFO] Will serialize class java.util.HashMap<com.vaadin.shared.Connector, com.vaadin.shared.ui.orderedlayout.AbstractOrderedLayoutState.ChildComponentData> as a bean
[INFO] Will serialize class com.vaadin.shared.ui.orderedlayout.AbstractOrderedLayoutState.ChildComponentData as a bean
[INFO] Visiting GridConnector with ConnectorInitVisitor
[INFO] GridConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridState as a bean
[INFO] Will serialize java.lang.String as an array
[INFO] Will serialize com.vaadin.shared.data.sort.SortDirection as an array
[INFO] Will serialize class com.vaadin.shared.data.sort.SortDirection as an enum
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridStaticSectionState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.grid.HeightMode as an enum
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridColumnState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridStaticSectionState.RowState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridStaticSectionState.CellState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridStaticCellType as an enum
[INFO] Visiting DetailComponentManagerConnector with ConnectorInitVisitor
[INFO] DetailComponentManagerConnector will be in the eager bundle
[INFO] Visiting MultiSelectionModelConnector with ConnectorInitVisitor
[INFO] MultiSelectionModelConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.grid.selection.MultiSelectionModelState as a bean
[INFO] Visiting NoSelectionModelConnector with ConnectorInitVisitor
[INFO] NoSelectionModelConnector will be in the eager bundle
[INFO] Visiting SingleSelectionModelConnector with ConnectorInitVisitor
[INFO] SingleSelectionModelConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.grid.selection.SingleSelectionModelState as a bean
[INFO] Visiting GridLayoutConnector with ConnectorInitVisitor
[INFO] GridLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.gridlayout.GridLayoutState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.gridlayout.GridLayoutState.ChildComponentData as a bean
[INFO] Will serialize float as an array
[INFO] Visiting HorizontalLayoutConnector with ConnectorInitVisitor
[INFO] HorizontalLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.orderedlayout.HorizontalLayoutState as a bean
[INFO] Visiting HorizontalSplitPanelConnector with ConnectorInitVisitor
[INFO] HorizontalSplitPanelConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.splitpanel.HorizontalSplitPanelState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.splitpanel.AbstractSplitPanelState.SplitterState as a bean
[INFO] Visiting ImageConnector with ConnectorInitVisitor
[INFO] ImageConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.image.ImageState as a bean
[INFO] Visiting InlineDateFieldConnector with ConnectorInitVisitor
[INFO] InlineDateFieldConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.datefield.InlineDateFieldState as a bean
[INFO] Visiting JavaScriptManagerConnector with ConnectorInitVisitor
[INFO] JavaScriptManagerConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.extension.javascriptmanager.JavaScriptManagerState as a bean
[INFO] Visiting LabelConnector with ConnectorInitVisitor
[INFO] LabelConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.label.LabelState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.label.ContentMode as an enum
[INFO] Visiting LinkConnector with ConnectorInitVisitor
[INFO] LinkConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.link.LinkState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.BorderStyle as an enum
[INFO] Visiting ListSelectConnector with ConnectorInitVisitor
[INFO] ListSelectConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.select.AbstractSelectState as a bean
[INFO] Visiting LoginFormConnector with ConnectorInitVisitor
[INFO] LoginFormConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.loginform.LoginFormState as a bean
[INFO] Visiting MenuBarConnector with ConnectorInitVisitor
[INFO] MenuBarConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.menubar.MenuBarState as a bean
[INFO] Visiting NativeButtonConnector with ConnectorInitVisitor
[INFO] NativeButtonConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.button.NativeButtonState as a bean
[INFO] Visiting NativeSelectConnector with ConnectorInitVisitor
[INFO] NativeSelectConnector will be in the eager bundle
[INFO] Visiting OptionGroupConnector with ConnectorInitVisitor
[INFO] OptionGroupConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.optiongroup.OptionGroupState as a bean
[INFO] Visiting PanelConnector with ConnectorInitVisitor
[INFO] PanelConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.panel.PanelState as a bean
[INFO] Visiting PasswordFieldConnector with ConnectorInitVisitor
[INFO] PasswordFieldConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.textfield.AbstractTextFieldState as a bean
[INFO] Visiting PopupDateFieldConnector with ConnectorInitVisitor
[INFO] PopupDateFieldConnector will be in the eager bundle
[INFO] Visiting PopupViewConnector with ConnectorInitVisitor
[INFO] PopupViewConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.popupview.PopupViewState as a bean
[INFO] Visiting ProgressBarConnector with ConnectorInitVisitor
[INFO] ProgressBarConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.progressindicator.ProgressBarState as a bean
[INFO] Visiting ProgressIndicatorConnector with ConnectorInitVisitor
[INFO] ProgressIndicatorConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.progressindicator.ProgressIndicatorState as a bean
[INFO] Visiting SliderConnector with ConnectorInitVisitor
[INFO] SliderConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.slider.SliderState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.slider.SliderOrientation as an enum
[INFO] Visiting TabsheetConnector with ConnectorInitVisitor
[INFO] TabsheetConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.tabsheet.TabsheetState as a bean
[INFO] Visiting TableConnector with ConnectorInitVisitor
[INFO] TableConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.table.TableState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.table.CollapseMenuContent as an enum
[INFO] Visiting TextAreaConnector with ConnectorInitVisitor
[INFO] TextAreaConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.textarea.TextAreaState as a bean
[INFO] Visiting TextFieldConnector with ConnectorInitVisitor
[INFO] TextFieldConnector will be in the eager bundle
[INFO] Visiting TreeConnector with ConnectorInitVisitor
[INFO] TreeConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.tree.TreeState as a bean
[INFO] Visiting TreeTableConnector with ConnectorInitVisitor
[INFO] TreeTableConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.treetable.TreeTableState as a bean
[INFO] Visiting TwinColSelectConnector with ConnectorInitVisitor
[INFO] TwinColSelectConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.twincolselect.TwinColSelectState as a bean
[INFO] Visiting UIConnector with ConnectorInitVisitor
[INFO] UIConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.ReconnectDialogConfigurationState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.TooltipConfigurationState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.LoadingIndicatorConfigurationState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.PushConfigurationState as a bean
[INFO] Will serialize class com.vaadin.shared.communication.PushMode as an enum
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.LocaleServiceState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.LocaleData as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.PageState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.UIState.NotificationTypeConfiguration as a bean
[INFO] Will serialize class com.vaadin.shared.ui.ui.NotificationRole as an enum
[INFO] Visiting UploadConnector with ConnectorInitVisitor
[INFO] UploadConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.upload.UploadState as a bean
[INFO] Visiting VerticalLayoutConnector with ConnectorInitVisitor
[INFO] VerticalLayoutConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.orderedlayout.VerticalLayoutState as a bean
[INFO] Visiting VerticalSplitPanelConnector with ConnectorInitVisitor
[INFO] VerticalSplitPanelConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.splitpanel.VerticalSplitPanelState as a bean
[INFO] Visiting VideoConnector with ConnectorInitVisitor
[INFO] VideoConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.video.VideoState as a bean
[INFO] Visiting WindowConnector with ConnectorInitVisitor
[INFO] WindowConnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.window.WindowState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.window.WindowMode as an enum
[INFO] Will serialize class com.vaadin.shared.ui.window.WindowRole as an enum
[INFO] Will serialize com.vaadin.shared.Connector as an array
[INFO] Visiting JavaScriptRendererConnector with ConnectorInitVisitor
[INFO] JavaScriptRendererConnector will be in the eager bundle
[INFO] Visiting ButtonRendererConnector with ConnectorInitVisitor
[INFO] ButtonRendererConnector will be in the eager bundle
[INFO] Visiting DateRendererConnector with ConnectorInitVisitor
[INFO] DateRendererConnector will be in the eager bundle
[INFO] Visiting UnsafeHtmlRendererConnector with ConnectorInitVisitor
[INFO] UnsafeHtmlRendererConnector will be in the eager bundle
[INFO] Visiting ImageRendererConnector with ConnectorInitVisitor
[INFO] ImageRendererConnector will be in the eager bundle
[INFO] Visiting NumberRendererConnector with ConnectorInitVisitor
[INFO] NumberRendererConnector will be in the eager bundle
[INFO] Visiting ProgressBarRendererConnector with ConnectorInitVisitor
[INFO] ProgressBarRendererConnector will be in the eager bundle
[INFO] Visiting TextRendererConnector with ConnectorInitVisitor
[INFO] TextRendererConnector will be in the eager bundle
[INFO] Visiting Html5FileInputSettingsConnector with ConnectorInitVisitor
[INFO] Html5FileInputSettingsConnector will be in the eager bundle
[INFO] Will serialize class org.vaadin.easyuploads.client.Html5FileInputState as a bean
[INFO] Visiting Multiuploadconnector with ConnectorInitVisitor
[INFO] Multiuploadconnector will be in the eager bundle
[INFO] Will serialize class com.vaadin.shared.ui.grid.ScrollDestination as an enum
[INFO] Will serialize class com.vaadin.shared.MouseEventDetails as a bean
[INFO] Will serialize class com.vaadin.shared.MouseEventDetails.MouseButton as an enum
[INFO] Will serialize class com.vaadin.shared.ui.grid.GridConstants.Section as an enum
[INFO] Will serialize class com.vaadin.shared.ui.table.TableConstants.Section as an enum
[INFO] Populating CalendarConnector bundle
[INFO] Visiting CalendarConnector with ConnectorInitVisitor
[INFO] CalendarConnector will be in the CalendarConnector bundle
[INFO] Will serialize class com.vaadin.shared.ui.calendar.CalendarState as a bean
[INFO] Will serialize class com.vaadin.shared.ui.calendar.CalendarState.Action as a bean
[INFO] Will serialize class com.vaadin.shared.ui.calendar.CalendarState.Day as a bean
[INFO] Will serialize class com.vaadin.shared.ui.calendar.CalendarState.Event as a bean
[INFO] Populating ColorPickerConnector bundle
[INFO] Visiting ColorPickerConnector with ConnectorInitVisitor
[INFO] ColorPickerConnector will be in the ColorPickerConnector bundle
[INFO] Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerState as a bean
[INFO] Populating ColorPickerAreaConnector bundle
[INFO] Visiting ColorPickerAreaConnector with ConnectorInitVisitor
[INFO] ColorPickerAreaConnector will be in the ColorPickerAreaConnector bundle
[INFO] Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerState as a bean
[INFO] Populating RichTextAreaConnector bundle
[INFO] Visiting RichTextAreaConnector with ConnectorInitVisitor
[INFO] RichTextAreaConnector will be in the RichTextAreaConnector bundle
[INFO] Will serialize class com.vaadin.shared.ui.textarea.RichTextAreaState as a bean
[INFO] Populating ColorPickerGradientConnector bundle
[INFO] Visiting ColorPickerGradientConnector with ConnectorInitVisitor
[INFO] ColorPickerGradientConnector will be in the ColorPickerGradientConnector bundle
[INFO] Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerGradientState as a bean
[INFO] Populating ColorPickerGridConnector bundle
[INFO] Visiting ColorPickerGridConnector with ConnectorInitVisitor
[INFO] ColorPickerGridConnector will be in the ColorPickerGridConnector bundle
[INFO] Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerGridState as a bean
[INFO] Adding '1' new generated units
[INFO] [WARN] Warnings in '/home/.data/stewert/projects/java/eclipse/c-onDocFlow/DFl_Vaadin/target/.generated/com/vaadin/client/metadata/ConnectorBundleLoaderImpl.java'
[INFO] [WARN] Line 4524: Referencing deprecated class 'com.vaadin.shared.ui.progressindicator.ProgressIndicatorState'
[INFO] [WARN] Line 4527: Referencing deprecated class 'com.vaadin.shared.ui.progressindicator.ProgressIndicatorState'
[INFO] [WARN] Line 4530: Referencing deprecated class 'com.vaadin.shared.ui.progressindicator.ProgressIndicatorState'
[INFO] See snapshot: /tmp/com.vaadin.client.metadata.ConnectorBundleLoaderImpl9073340691843956606.java
[INFO] Computing all possible rebind results for 'com.vaadin.client.ui.dd.VAcceptCriterionFactory'
[INFO] Rebinding com.vaadin.client.ui.dd.VAcceptCriterionFactory
[INFO] Invoking generator com.vaadin.server.widgetsetutils.AcceptCriteriaFactoryGenerator
[INFO] Detecting available criteria ...
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.And
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIs
[INFO] creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs
[INFO] creating mapping for com.vaadin.ui.AbstractSelect.AcceptItem
[INFO] creating mapping for com.vaadin.ui.Table.TableDropCriterion
[INFO] creating mapping for com.vaadin.ui.Tree.TreeDropCriterion
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.Not
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.Or
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIsTarget
[INFO] creating mapping for com.vaadin.event.dd.acceptcriteria.TargetDetailIs
[INFO] creating mapping for com.vaadin.ui.Tree.TargetInSubtree
[INFO] Done. (0seconds)
[INFO] Compiling 1 permutation
[INFO] Compiling permutation 0...
[INFO] Compile of permutations succeeded
[INFO] Compilation succeeded -- 36,426s
[INFO] Linking into /home/.data/stewert/projects/java/eclipse/c-onDocFlow/DFl_Vaadin/target/classes/VAADIN/widgetsets/com.coco_on.docFlow.vaadin.AppWidgetSet
[INFO] Link succeeded
[INFO] Linking succeeded -- 0,351s
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.703s
[INFO] Finished at: Sun Nov 27 12:05:47 CET 2016
[INFO] Final Memory: 19M/429M
[INFO] ------------------------------------------------------------------------
If I then build the war and ear file, deploy the ear and start the application in the browser I get:
Failed to load the widgetset: ./VAADIN/widgetsets/com.coco_on.docFlow.vaadin.AppWidgetSet/com.coco_on.docFlow.vaadin.AppWidgetSet.nocache.js?1480245879233
Thats the first error which I cannot get fix. As workaround I can do following:
After compiling the widgetset I have in the directory 'target/classes/VAADIN/' a 'widgetsets" directory . Then I copy this directory into my 'webapp/VAADIN' directory. Then I rebuild the war and ear project and the error above is gone. But then I get the error
Widgetset 'com.coco_on.docFlow.vaadin.AppWidgetSet' does not contain implementation
for org.vaadin.easyuploads.MultiUpload. Check its component connector's @Connect
mapping, widgetsets GWT module description file and re-compile your widgetset. In
case you have downloaded a vaadin add-on package, you might want to refer to add-on
instructions
on the page which contains the EasyUpload widget.
So my question is: Whats wrong in my case? How can I compile the widgets correctly with maven?
Thanks a lot,
Steffen