Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.
Upgrade from 7.3 to 7.6 and filteringtable
I'm having a strange problem, I've searched but nobody seems to have this problem. When upgradind my Vaadin from 7.3 to 7.6 and compiling the widgetset, I'm getting the following error:
[INFO] Tracing compile failure path for type 'com.vaadin.client.ui.VCustomScrollTable'
[INFO] [ERROR] Errors in 'jar:file:/C:/.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 2604: The method hasActiveRequest() is undefined for the type ApplicationConnection
[INFO] [ERROR] Aborting compile due to errors in some input files
In my search I've seen that version 0.9.13 of filteringtable is not compatible with Vaadin 7.6, but my problem is that I'm not really using that addon, it is not in my pom file (using maven), I guess that something in 7.6 needs it and maven imports the addon, but it is not the correct version, should be 0.9.14.
For your information, when I compile the widgetset, these two lines are added automatically to my AppWidgetSet.gwt.xml, while with version 7.3 this didn't happen:
<inherits name="org.vaadin.hene.popupbutton.widgetset.PopupbuttonWidgetset" />
<inherits name="org.tepi.filtertable.gwt.FilterTableWidgetset" />
Anybody has any idea of why is this happening? I solved it by explicitly adding the addon in my pom with the correct version, but I would still like to know why is this happening and if I'm doing something wrong
If you remove the explicit include from your pom and see what dependency includes fitleringtable to your project.
mvn dependency:tree -Dincludes=:filteringtable
That helped me identify the problem, I'm quite new to maven, thank you!