I am trying to use Vaading Chart in my project. I added Vaadin chart dependency and vaadin-maven-plugin
to the project pom.xml file (attached). Then, I executed vaadin compile
from my IDE. It creates the attached AppWidgetset.gwt.xml
. Then, I wanted to execute mvn clean -e vaadin:update-widgetset vaadin:compile
. Since this command gives an error saying it can’t find AppWidgetset.gwt.xml
in the classpath, I copied the created file AppWidgetset.gwt.xml
to the folder that contains the java files as recommended in the [link]
(https://stackoverflow.com/questions/45919574/vaadin-widgetset-compilation-failture). However, the command mvn clean -e vaadin:update-widgetset vaadin:compile
still gives me following error.
Could anyone help me to figure out this error? My web-app was working perfectly until I add the Vaadin Chart dependancy and vaadin-maven-plugin
to pom.xml
.
XXX-MacBook-Pro:demo xxxxx$ mvn clean -e vaadin:update-widgetset vaadin:compile
[INFO]
Error stacktraces are turned on.
[INFO]
Scanning for projects...
[WARNING]
[WARNING]
Some problems were encountered while building the effective model for com.slforml:demo:jar:0.0.1-SNAPSHOT
[WARNING]
'dependencies.dependency.scope' for com.vaadin:vaadin-bom:pom must be one of [provided, compile, runtime, test, system]
but is 'import'. @ line 83, column 20
[WARNING]
[WARNING]
It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING]
For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO]
--------------------------< com.slforml:demo >--------------------------
[INFO]
Building Data 0.0.1-SNAPSHOT
[INFO]
--------------------------------[ jar ]
---------------------------------
[INFO]
[INFO]
--- maven-clean-plugin:3.1.0:clean (default-clean) @ demo ---
[INFO]
Deleting /Users/malinda/Documents/TOSEM/Spring/demo/target
[INFO]
[INFO]
--- vaadin-maven-plugin:8.0.0:update-widgetset (default-cli) @ demo ---
[INFO]
auto discovered modules [AppWidgetset]
[INFO]
Updating widgetset AppWidgetset
[INFO]
Adding resource directory to command classpath: /Users/malinda/Documents/TOSEM/Spring/demo/src/main/resources
[INFO]
Adding resource directory to command classpath: /Users/malinda/Documents/TOSEM/Spring/demo/src/main/resources
[INFO]
Using com.vaadin:vaadin-client version 8.7.0
[INFO]
Using com.vaadin:vaadin-client-compiler version 8.7.0
[INFO]
Widgetsets found from classpath:
[INFO]
org.vaadin.addons.searchbox.Widgetset in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/searchbox/0.1.3/searchbox-0.1.3.jar!/
[INFO]
org.vaadin.addons.autocomplete.Widgetset in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/autocomplete/0.2.4/autocomplete-0.2.4.jar!/
[INFO]
org.vaadin.hene.popupbutton.widgetset.PopupbuttonWidgetset in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/popupbutton/2.5.0/popupbutton-2.5.0.jar!/
[INFO]
org.tepi.filtertable.gwt.FilterTableWidgetset in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/filteringtable/0.9.13.v7/filteringtable-0.9.13.v7.jar!/
[INFO]
org.vaadin.teemu.ratingstars.gwt.RatingStarsWidgetset in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/ratingstars/2.1/ratingstars-2.1.jar!/
[INFO]
org.vaadin.sparklines.SparklinesWidgetset in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/sparklines/7.0.2/sparklines-7.0.2.jar!/
[INFO]
org.vaadin.grid.cellrenderers.RenderersCollectionWidgetSet in jar:file:/Users/malinda/.m2/repository/com/vaadin/grid-renderers-collection-addon/2.6.1/grid-renderers-collection-addon-2.6.1.jar!/
[INFO]
org.vaadin.gridutil.WidgetSet in jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/vaadin-grid-util/2.1.1/vaadin-grid-util-2.1.1.jar!/
[INFO]
com.vaadin.addon.charts.Widgetset in jar:file:/Users/malinda/.m2/repository/com/vaadin/vaadin-charts/4.0.5/vaadin-charts-4.0.5.jar!/
[INFO]
com.vaadin.DefaultWidgetSet in jar:file:/Users/malinda/.m2/repository/com/vaadin/vaadin-client/8.7.0/vaadin-client-8.7.0.jar!/
[INFO]
Addon styles found from classpath:
[INFO]
[INFO]
Search took 16ms
[INFO]
[INFO]
--- vaadin-maven-plugin:8.0.0:compile (default-cli) @ demo ---
[INFO]
auto discovered modules [AppWidgetset]
[INFO]
Using com.vaadin:vaadin-client version 8.7.0
[INFO]
Using com.vaadin:vaadin-client-compiler version 8.7.0
[INFO]
Compiling module AppWidgetset
[INFO]
Tracing compile failure path for type 'org.tepi.filtertable.gwt.client.ui.FilterTreeTableConnector'
[INFO]
[ERROR]
Errors in 'jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/filteringtable/0.9.13.v7/filteringtable-0.9.13.v7.jar!/org/tepi/filtertable/gwt/client/ui/FilterTreeTableConnector.java'
[INFO]
[ERROR]
Line 33: TreeTableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 106: TreeTableState cannot be resolved to a type
[INFO]
[ERROR]
Line 32: TreeTableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 16: The import com.vaadin.shared.ui.treetable cannot be resolved
[INFO]
[ERROR]
Line 15: The import com.vaadin.shared.ui.treetable cannot be resolved
[INFO]
[ERROR]
Line 107: The method getState() from the type FilterTableConnector refers to the missing type TableState
[INFO]
[ERROR]
Line 107: TreeTableState cannot be resolved to a type
[INFO]
Tracing compile failure path for type 'org.vaadin.hene.popupbutton.widgetset.client.ui.VPopupButton'
[INFO]
[ERROR]
Errors in 'jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/popupbutton/2.5.0/popupbutton-2.5.0.jar!/org/vaadin/hene/popupbutton/widgetset/client/ui/VPopupButton.java'
[INFO]
[ERROR]
Line 170: The constructor VOverlay(boolean, boolean, boolean) is undefined
[INFO]
[ERROR]
Line 279: The method setShadowStyle(String) of type VPopupButton.LayoutPopup must override or implement a supertype method
[INFO]
[ERROR]
Line 280: The method setShadowStyle(String) is undefined for the type VOverlay
[INFO]
Tracing compile failure path for type 'com.vaadin.client.ui.VCustomScrollTable'
[INFO]
[ERROR]
Errors in 'jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/filteringtable/0.9.13.v7/filteringtable-0.9.13.v7.jar!/com/vaadin/client/ui/VCustomScrollTable.java'
[INFO]
[ERROR]
Line 2130: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 5759: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 3107: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 105: The import com.vaadin.shared.ui.table cannot be resolved
[INFO]
[ERROR]
Line 3041: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 4243: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 2604: The method hasActiveRequest() is undefined for the type ApplicationConnection
[INFO]
[ERROR]
Line 4277: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 5954: TableConstants cannot be resolved to a variable
[INFO]
Tracing compile failure path for type 'org.vaadin.hene.popupbutton.widgetset.client.ui.PopupButtonConnector'
[INFO]
[ERROR]
Errors in 'jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/popupbutton/2.5.0/popupbutton-2.5.0.jar!/org/vaadin/hene/popupbutton/widgetset/client/ui/PopupButtonConnector.java'
[INFO]
[ERROR]
Line 94: The method isNeeded(ComponentConnector) in the type VCaption is not applicable for the arguments (AbstractComponentState)
[INFO]
[ERROR]
Errors in 'jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/popupbutton/2.5.0/popupbutton-2.5.0.jar!/org/vaadin/hene/popupbutton/widgetset/client/ui/VPopupButton.java'
[INFO]
[ERROR]
Line 170: The constructor VOverlay(boolean, boolean, boolean) is undefined
[INFO]
[ERROR]
Line 279: The method setShadowStyle(String) of type VPopupButton.LayoutPopup must override or implement a supertype method
[INFO]
[ERROR]
Line 280: The method setShadowStyle(String) is undefined for the type VOverlay
[INFO]
Tracing compile failure path for type 'org.tepi.filtertable.gwt.client.ui.FilterTableConnector'
[INFO]
[ERROR]
Errors in 'jar:file:/Users/malinda/.m2/repository/org/vaadin/addons/filteringtable/0.9.13.v7/filteringtable-0.9.13.v7.jar!/org/tepi/filtertable/gwt/client/ui/FilterTableConnector.java'
[INFO]
[ERROR]
Line 87: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 446: TableState cannot be resolved to a type
[INFO]
[ERROR]
Line 311: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 133: The method getState() from the type FilterTableConnector refers to the missing type TableState
[INFO]
[ERROR]
Line 441: The method isReadOnly() is undefined for the type AbstractHasComponentsConnector
[INFO]
[ERROR]
Line 318: The method getState() from the type FilterTableConnector refers to the missing type TableState
[INFO]
[ERROR]
Line 47: The import com.vaadin.shared.ui.table cannot be resolved
[INFO]
[ERROR]
Line 46: The import com.vaadin.shared.ui.table cannot be resolved
[INFO]
[ERROR]
Line 441: The method getState() from the type FilterTableConnector refers to the missing type TableState
[INFO]
[ERROR]
Line 445: TableState cannot be resolved to a type
[INFO]
[ERROR]
Line 85: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 125: The method getState() from the type FilterTableConnector refers to the missing type TableState
[INFO]
[ERROR]
Line 312: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 89: TableConstants cannot be resolved to a variable
[INFO]
[ERROR]
Line 440: The method isReadOnly() of type FilterTableConnector must override or implement a supertype method
[INFO]
[ERROR]
Line 422: The method forceIE8Redraw(Element) is undefined for the type Util
[INFO]
[ERROR]
Aborting compile due to errors in some input files
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO]
Total time: 20.156 s
[INFO]
Finished at: 2020-05-01T12:37:58-07:00
[INFO]
------------------------------------------------------------------------
18244832.xml (5.97 KB)
18244835.xml (918 Bytes)