Treetable addnon problem

Hi,

I have a problem with installing treetable addon…I have followed the instructions given on wiki and forum, everything seems to work, but I still can’t use the widget in my app, I get this message


Widgetset does not contain implementation for com.vaadin.addon.treetable.TreeTable. Check its @ClientWidget mapping, widgetsets GWT module descrioption file and re-compile your widgetset. Unrendered UIDL:

	com.vaadin.addon.treetable.TreeTable(NO CLIENT IMPLEMENTATION FOUND) id=PID16 width=100.0% selectmode=none cols=1 rows=1 firstrow=0 totalrows=1 pagelength=15 colheaders=true vcolorder={0:1,}

This is the maven output:


WARNING: You are running embedded Maven builds, some build may fail due to incompatibilities with latest Maven release.
         To set Maven instance to use for building, click here.
Scanning for projects...
[#process-sources]

[aspectj:compile]

[WARN]
bad version number found in C:\Users\malejpavouk\.m2\repository\org\aspectj\aspectjrt\1.6.1\aspectjrt-1.6.1.jar expected 1.6.3 found 1.6.1
[#process-resources]

[resources:resources]

Using default encoding to copy filtered resources.
[gwt:resources]

auto discovered modules [cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet]

1 source files copied from GWT module cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet
[#compile]

[compiler:compile]

Nothing to compile - all classes are up to date
[#process-classes]

[gwt:compile]

using GWT jars from project dependencies : 2.0.3
auto discovered modules [cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet]

establishing classpath list (scope = compile)
Compiling module cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet
   Validating newly compiled units
      [ERROR]
 Errors in 'jar:file:/C:/Users/malejpavouk/.m2/repository/com/vaadin/vaadin-treetable/0.2.0/vaadin-treetable-0.2.0.jar!/com/vaadin/addon/treetable/client/ui/VTreeTable.java'
         [ERROR]
 Line 20: The method createScrollBody() of type VTreeTable must override or implement a supertype method
         [ERROR]
 Line 29: The constructor VScrollTable.VScrollTableBody() is not visible
         [ERROR]
 Line 33: The method createRow(UIDL, char[]) of type VTreeTable.VTreeTableScrollBody must override or implement a supertype method
         [ERROR]
 Line 50: The method addCell(UIDL, String, char, String, boolean) of type VTreeTable.VTreeTableScrollBody.VTreeTableRow must override or implement a supertype method
         [ERROR]
 Line 52: The method addCell(String, char, String, boolean) in the type VScrollTable.VScrollTableBody.VScrollTableRow is not applicable for the arguments (UIDL, String, char, String, boolean)
         [ERROR]
 Line 59: The field VScrollTable.showRowHeaders is not visible
         [ERROR]
 Line 68: The field VScrollTable.client is not visible
         [ERROR]
 Line 95: The field VScrollTable.client is not visible
         [ERROR]
 Line 95: The field VScrollTable.paintableId is not visible
         [ERROR]
 Line 104: The method addCell(UIDL, Widget, char, String) of type VTreeTable.VTreeTableScrollBody.VTreeTableRow must override or implement a supertype method
         [ERROR]
 Line 105: The method addCell(Widget, char, String) in the type VScrollTable.VScrollTableBody.VScrollTableRow is not applicable for the arguments (UIDL, Widget, char, String)
         [ERROR]
 Line 150: The method buildCaptionHtmlSnippet(UIDL) of type VTreeTable must override or implement a supertype method
         [ERROR]
 Line 152: The method buildCaptionHtmlSnippet(UIDL) from the type VScrollTable is not visible
         [ERROR]
 Line 160: The method handleNavigation(int, boolean, boolean) of type VTreeTable must override or implement a supertype method
         [ERROR]
 Line 161: The method getFocusedRow() is undefined for the type VTreeTable
         [ERROR]
 Line 165: The field VScrollTable.client is not visible
         [ERROR]
 Line 165: The field VScrollTable.paintableId is not visible
         [ERROR]
 Line 170: The method handleNavigation(int, boolean, boolean) is undefined for the type VScrollTable
         [ERROR]
 Line 174: The method reOrderColumn(String, int) of type VTreeTable must override or implement a supertype method
         [ERROR]
 Line 175: The method reOrderColumn(String, int) from the type VScrollTable is not visible
         [ERROR]
 Line 178: The field VScrollTable.client is not visible
   Scanning for additional dependencies: jar:file:/C:/Users/malejpavouk/.m2/repository/com/vaadin/vaadin/6.4.0-nightly/vaadin-6.4.0-nightly.jar!/com/vaadin/terminal/gwt/client/DefaultWidgetSet.java
      Computing all possible rebind results for 'com.vaadin.terminal.gwt.client.WidgetMap'
         Rebinding com.vaadin.terminal.gwt.client.WidgetMap
            Invoking com.google.gwt.dev.javac.StandardGeneratorContext@18f263b
               Detecting Vaadin components in classpath to generate WidgetMapImpl.java ...
               [WARN]
 Widget class com.vaadin.addon.treetable.client.ui.VTreeTable was not found. The component com.vaadin.addon.treetable.TreeTable will not be included in the widgetset.
               Widget set will contain implementations for following components: 
                       com.vaadin.ui.AbsoluteLayout
                       com.vaadin.ui.Accordion
                       com.vaadin.ui.Button
                       com.vaadin.ui.CheckBox
                       com.vaadin.ui.ComboBox
                       com.vaadin.ui.CssLayout
                       com.vaadin.ui.CustomComponent
                       com.vaadin.ui.CustomLayout
                       com.vaadin.ui.DateField
                       com.vaadin.ui.DragAndDropWrapper
                       com.vaadin.ui.Embedded
                       com.vaadin.ui.Form
                       com.vaadin.ui.FormLayout
                       com.vaadin.ui.GridLayout
                       com.vaadin.ui.HorizontalLayout
                       com.vaadin.ui.Label
                       com.vaadin.ui.Link
                       com.vaadin.ui.ListSelect
                       com.vaadin.ui.MenuBar
                       com.vaadin.ui.NativeButton
                       com.vaadin.ui.NativeSelect
                       com.vaadin.ui.OptionGroup
                       com.vaadin.ui.OrderedLayout
                       com.vaadin.ui.Panel
                       com.vaadin.ui.PopupView
                       com.vaadin.ui.ProgressIndicator
                       com.vaadin.ui.RichTextArea
                       com.vaadin.ui.Select
                       com.vaadin.ui.Slider
                       com.vaadin.ui.SplitPanel
                       com.vaadin.ui.TabSheet
                       com.vaadin.ui.Table
                       com.vaadin.ui.TextField
                       com.vaadin.ui.Tree
                       com.vaadin.ui.TwinColSelect
                       com.vaadin.ui.Upload
                       com.vaadin.ui.UriFragmentUtility
                       com.vaadin.ui.VerticalLayout
                       com.vaadin.ui.Window
               Done. (4seconds)
   Scanning for additional dependencies: jar:file:/C:/Users/malejpavouk/.m2/repository/com/vaadin/vaadin/6.4.0-nightly/vaadin-6.4.0-nightly.jar!/com/vaadin/terminal/gwt/client/ui/dd/VAcceptCriteria.java
      Computing all possible rebind results for 'com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory'
         Rebinding com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory
            Invoking com.google.gwt.dev.javac.StandardGeneratorContext@18f263b
               Detecting available criteria ...
               creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll
               creating mapping for com.vaadin.event.dd.acceptcriteria.Or
               creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIs
               creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
               creating mapping for com.vaadin.event.dd.acceptcriteria.And
               creating mapping for com.vaadin.event.dd.acceptcriteria.Not
               creating mapping for com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor
               creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs
               creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIsTarget
               creating mapping for com.vaadin.ui.AbstractSelect.AcceptItem
               creating mapping for com.vaadin.event.dd.acceptcriteria.TargetDetailIs
               creating mapping for com.vaadin.ui.Table.TableDropCriterion
               creating mapping for com.vaadin.ui.Tree.TreeDropCriterion
               creating mapping for com.vaadin.ui.Tree.TargetInSubtree
               Done. (0seconds)
   Compiling 6 permutations
      Compiling permutation 0...
      Process output
         Compiling permutation 1...
         Compiling permutation 2...
      Compiling permutation 3...
         Compiling permutation 4...
      Compiling permutation 5...
   Compile of permutations succeeded
Linking into C:\Users\malejpavouk\Stuff\workspace\Java\PaMicMaven\target\VAADIN\widgetsets\cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet. Writing extras to C:\Users\malejpavouk\Stuff\workspace\Java\PaMicMaven\target\extra\cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet
   Link succeeded
   Compilation succeeded -- 141,474s
[vaadin:update-widgetset]

auto discovered modules [cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet]

Updating widgetset cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet
establishing classpath list (scope = compile)
[ERROR]
11.6.2010 12:14:59 com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
[ERROR]
INFO: Widgetsets found from classpath:
[ERROR]
        com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:C:/Users/malejpavouk/.m2/repository/com/vaadin/vaadin/6.4.0-nightly/vaadin-6.4.0-nightly.jar!/
[ERROR]
        cz.micka.pavel.pamic.admin.widgetset.MyAppWidgetSet in file://C/Users/malejpavouk/Stuff/workspace/Java/PaMicMaven/src/main/java
[ERROR]
        com.vaadin.addon.treetable.TreetableWidgetset in jar:file:C:/Users/malejpavouk/.m2/repository/com/vaadin/vaadin-treetable/0.2.0/vaadin-treetable-0.2.0.jar!/
[#process-test-sources]

[aspectj:test-compile]

[#process-test-resources]

[resources:testResources]

Using default encoding to copy filtered resources.
[#test-compile]

[compiler:testCompile]

Nothing to compile - all classes are up to date
[#test]

[surefire:test]

No tests to run.
[#package]

[war:war]

Packaging webapp
Assembling webapp[PaMicMaven]
 in [C:\Users\malejpavouk\Stuff\workspace\Java\PaMicMaven\target]

Processing war project
Webapp assembled in[4768 msecs]

Building war: C:\Users\malejpavouk\Stuff\workspace\Java\PaMicMaven\target\.war
------------------------------------------------------------------------
BUILD SUCCESSFUL
------------------------------------------------------------------------
Total time: 4 minutes 47 seconds
Finished at: Fri Jun 11 12:16:16 CEST 2010
Final Memory: 136M/269M
------------------------------------------------------------------------
NetBeans: Deploying on Tomcat 6.0
    profile mode: false
    debug mode: false
    force redeploy: true
Undeploying ...
OK - Undeployed application at context path /
In-place deployment at C:\Users\malejpavouk\Stuff\workspace\Java\PaMicMaven\target
deploy?config=file%3A%2FC%3A%2FUsers%2FMALEJP%7E1%2FAppData%2FLocal%2FTemp%2Fcontext5759760878227877823.xml&path=/
OK - Deployed application at context path /
Start is in progress...
start?path=/
OK - Started application at context path /

I don’t know whether I have misconfigured something (this is my first usage of addons) or if its some bug in TreeTable (0.2).

Thanks.

Pavel

Hi!

You need to use nightly from 6.4 branch to use TreeTable.

cheers,
matti

I have the yesterdays one…(6.4.0.nightly-20100416-c12574)

edit: as i look on the timestamp, its not the yesterdays one…I have dowloaded the one on the top…this could be the most stupid mistake I have ever made with libraries :slight_smile:

edit2: it works with the real newest one…I will read better what I am downloading next time…sorry for spaming the forum with my stupidity :wink:

Pavel