Hi,
this has been addressed many times on this forum but not quite the same. I’m trying to install SuperImmutableTextField on Vaadin 6.4.4. My IDE is Eclipse with Vaadin plugin installed, server is Tomcat 6. No matter how I add the jar into project and compile widgetsets manually and automatically I get that “Implementation not found” -message. Nothing gets created regarding this add-on in VAADIN/widgetsets -folder. Should it show up in there? If I add the widgetset into init-param in web.xml I get javascript popup saying it can’t find implementation. If I don’t have that in web.xml the message shows up where that component should be in the web page.
What am I missing here? Any help is greatly appreciated.
Make sure you have put the JAR file of the add-on inside the
WebContent/WEB-INF/lib directory.
Go to the Vaadin properties of your project (
Properties → Vaadin ) and check the
Verbose compilation output checkbox. This will print out more information into the console when you are compiling the widgetset. Including a list of widgets in the compiled widgetset. You should see this list to check whether the add-on widget is included or not.
Hopefully these will help you resolve your problem.
Thanks Teemu,
jar-file is in place that is for sure, verbose compilation output is below (to me it looks good, but this is first time I see it). Only thing found in VAADIN/widgetsets/ is “multibutton-widget” and “multibutton/img” folders under “com…_vaadinWidgetset”. This is another widget, not superimmutabletextfield. And I still get “no implementation found”.
Executing compiler with parameters [C:\Program Files\Java\jdk1.5.0_22\bin\java.exe, -Djava.awt.headless=true, -Xss8M, -Xmx512M, -XX:MaxPermSize=512M, -classpath, C:\Program Files\Java\jdk1.5.0_22\jre\lib\rt.jar;C:/eclipse_projects/Vaadin/src;C:/eclipse_projects/Vaadin/test;C:/eclipse_projects/Vaadin/build/classes;C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-dev/2.0.4/gwt-dev.jar;C:/eclipse/configuration/com.vaadin.integration.eclipse/download/gwt-user/2.0.4/gwt-user.jar;C:/eclipse_projects/Vaadin/public_html/WEB-INF/lib/vaadin-6.4.4.jar;C:/eclipse_projects/Vaadin/public_html/WEB-INF/lib/MultiButton-1.0.1.jar, com.vaadin.tools.WidgetsetCompiler, -out, public_html/VAADIN/widgetsets, -localWorkers, 2, -logLevel, INFO, com.....vaadinWidgetset]
Updating GWT module description file...
27-Jan-2011 10:57:41 com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:C:/eclipse_projects/Vaadin/public_html/WEB-INF/lib/vaadin-6.4.4.jar!/
org.vaadin.peter.multibutton.MultibuttonWidgetset in jar:file:C:/eclipse_projects/Vaadin/public_html/WEB-INF/lib/MultiButton-1.0.1.jar!/
com.....vaadinWidgetset in file://C/eclipse_projects/Vaadin/src
Done.
Starting GWT compiler
Compiling module com....vaadinWidgetset
Scanning for additional dependencies: jar:file:/C:/eclipse_projects/Vaadin/public_html/WEB-INF/lib/vaadin-6.4.4.jar!/com/vaadin/terminal/gwt/client/WidgetSet.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@1bbb315
Detecting Vaadin components in classpath to generate WidgetMapImpl.java ...
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
org.vaadin.peter.multibutton.MultiButton
Done. (20seconds)
Scanning for additional dependencies: jar:file:/C:/eclipse_projects/Vaadin/public_html/WEB-INF/lib/vaadin-6.4.4.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@1bbb315
Detecting available criteria ...
creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll
creating mapping for com.vaadin.event.dd.acceptcriteria.Not
creating mapping for com.vaadin.ui.Table.TableDropCriterion
creating mapping for com.vaadin.event.dd.acceptcriteria.And
creating mapping for com.vaadin.ui.AbstractSelect.AcceptItem
creating mapping for com.vaadin.ui.Tree.TargetInSubtree
creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIsTarget
creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs
creating mapping for com.vaadin.event.dd.acceptcriteria.TargetDetailIs
creating mapping for com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor
creating mapping for com.vaadin.event.dd.acceptcriteria.Or
creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIs
creating mapping for com.vaadin.ui.Tree.TreeDropCriterion
creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
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 public_html\VAADIN\widgetsets
Link succeeded
Compilation succeeded -- 112.386s
Have you tried refreshing the project and redeploying it?
Eclipse does not automatically refresh the project or redeploy it after you have built the widgetset. You will have to do it manually. Also, to ensure you are using the right widgetset you could also remove all previous widgetsets from VAADIN/widgetsets before compiling.