AceEditor@Vaadin 6.8.2 - compilED widgetset problem

Hello there guys!

I’ve got a problem with using a widget set.

I am using


used vaadin related libraries:

vaadin: 6.8.2
gwt version: {user, dev}2.2.0
gwt-maven-plugin: 2.2.0
vaadin-maven-plugin: 1.0.2
AceEditor: 0.3.1

After couple of hourse having troubleshots with compiling the widgetset I finally made it to compile.
Everything looks fine (I guess) but unfortunately im still getting an notification that Widgetset doesn’t contain client implementation of the addon:


Widgetset does not contain implementation for org.vaadin.aceeditor.AceEditor. Check its @ClientWidget 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. Unrendered UIDL:

What is the problem now? I did compile widgetset properly and it still doesn’t work. Thanks in advance for any help. If you would like to see anything else - just ask.


below I attached some log resources you might want to see


mvn vaadin:update-widgetset result log:


[INFO]
 --- vaadin-maven-plugin:1.0.2:update-widgetset (default) @ my-gam-admin2 ---
[INFO]
 auto discovered modules [main.java.pl.isolution.gamification.vaadin.widgetset.My_gam_admin2Widgetset]

[INFO]
 Updating widgetset main.java.com.gamification.vaadin.widgetset.My_gam_admin2Widgetset
[ERROR]
 sie 09, 2013 9:13:40 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
[ERROR]
 INFO: Widgetsets found from classpath:
[ERROR]
         org.vaadin.aceeditor.gwt.AceEditorWidgetSet in jar:file:D:/.m2/repository/com/vaadin/addons/aceeditor/0.3.1/aceeditor-0.3.1.jar!/
[ERROR]
         com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:D:/.m2/repository/com/vaadin/vaadin/6.8.2/vaadin-6.8.2.jar!/
[ERROR]
         org.vaadin.cssinject.Cssinject_addonWidgetset in jar:file:D:/.m2/repository/org/vaadin/addons/cssinject/1.0/cssinject-1.0.jar!/
[ERROR]

[ERROR]
 sie 09, 2013 9:13:40 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
[ERROR]
 INFO: Search took 7ms


mvn gwt:compile result log:


[INFO]
 --- gwt-maven-plugin:2.2.0:compile (default) @ my-gam-admin2 ---
[INFO]
 auto discovered modules [main.java.pl.isolution.gamification.vaadin.widgetset.My_gam_admin2Widgetset]

[INFO]
 Compiling module main.java.pl.isolution.gamification.vaadin.widgetset.My_gam_admin2Widgetset
[INFO]
    Scanning for additional dependencies: jar:file:/D:/.m2/repository/com/vaadin/vaadin/6.8.2/vaadin-6.8.2.jar!/com/vaadin/terminal/gwt/client/WidgetSet.java
[INFO]
       Computing all possible rebind results for 'com.vaadin.terminal.gwt.client.WidgetMap'
[INFO]
          Rebinding com.vaadin.terminal.gwt.client.WidgetMap
[INFO]
             Invoking generator com.vaadin.terminal.gwt.widgetsetutils.EagerWidgetMapGenerator
[INFO]
                Detecting Vaadin components in classpath to generate WidgetMapImpl.java ...
[ERROR]
 sie 09, 2013 9:14:15 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
[ERROR]
 INFO: Searching for paintables..
[ERROR]
 sie 09, 2013 9:14:16 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
[ERROR]
 INFO: Search took 1188ms
[INFO]
                Widget set will contain implementations for following components:
[INFO]
                  com.vaadin.ui.AbsoluteLayout
[INFO]
                  com.vaadin.ui.Accordion
[INFO]
                  com.vaadin.ui.Audio
[INFO]
                  com.vaadin.ui.Button
[INFO]
                  com.vaadin.ui.CheckBox
[INFO]
                  com.vaadin.ui.ComboBox
[INFO]
                  com.vaadin.ui.CssLayout
[INFO]
                  com.vaadin.ui.CustomComponent
[INFO]
                  com.vaadin.ui.CustomLayout
[INFO]
                  com.vaadin.ui.DateField
[INFO]
                  com.vaadin.ui.DragAndDropWrapper
[INFO]
                  com.vaadin.ui.Embedded
[INFO]
                  com.vaadin.ui.Form
[INFO]
                  com.vaadin.ui.FormLayout
[INFO]
                  com.vaadin.ui.GridLayout
[INFO]
                  com.vaadin.ui.HorizontalLayout
[INFO]
                  com.vaadin.ui.HorizontalSplitPanel
[INFO]
                  com.vaadin.ui.InlineDateField
[INFO]
                  com.vaadin.ui.Label
[INFO]
                  com.vaadin.ui.Link
[INFO]
                  com.vaadin.ui.ListSelect
[INFO]
                  com.vaadin.ui.MenuBar
[INFO]
                  com.vaadin.ui.NativeButton
[INFO]
                  com.vaadin.ui.NativeSelect
[INFO]
                  com.vaadin.ui.OptionGroup
[INFO]
                  com.vaadin.ui.OrderedLayout
[INFO]
                  com.vaadin.ui.Panel
[INFO]
                  com.vaadin.ui.PasswordField
[INFO]
                  com.vaadin.ui.PopupView
[INFO]
                  com.vaadin.ui.ProgressIndicator
[INFO]
                  com.vaadin.ui.RichTextArea
[INFO]
                  com.vaadin.ui.Select
[INFO]
                  com.vaadin.ui.Slider
[INFO]
                  com.vaadin.ui.SplitPanel
[INFO]
                  com.vaadin.ui.TabSheet
[INFO]
                  com.vaadin.ui.Table
[INFO]
                  com.vaadin.ui.TextArea
[INFO]
                  com.vaadin.ui.TextField
[INFO]
                  com.vaadin.ui.Tree
[INFO]
                  com.vaadin.ui.TreeTable
[INFO]
                  com.vaadin.ui.TwinColSelect
[INFO]
                  com.vaadin.ui.Upload
[INFO]
                  com.vaadin.ui.UriFragmentUtility
[INFO]
                  com.vaadin.ui.VerticalLayout
[INFO]
                  com.vaadin.ui.VerticalSplitPanel
[INFO]
                  com.vaadin.ui.Video
[INFO]
                  com.vaadin.ui.Window
[INFO]
                  org.vaadin.aceeditor.AceEditor
[INFO]
                  org.vaadin.aceeditor.AceMarkerEditor
[INFO]
                  org.vaadin.aceeditor.AceSuggestibleEditor
[INFO]
                  org.vaadin.cssinject.CSSInject
[INFO]
                Done. (1seconds)
[INFO]
    Scanning for additional dependencies: jar:file:/D:/.m2/repository/com/vaadin/vaadin/6.8.2/vaadin-6.8.2.jar!/com/vaadin/terminal/gwt/client/ui/dd/VAcceptCriteria.java
[INFO]
       Computing all possible rebind results for 'com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory'
[INFO]
          Rebinding com.vaadin.terminal.gwt.client.ui.dd.VAcceptCriterionFactory
[INFO]
             Invoking generator com.vaadin.terminal.gwt.widgetsetutils.AcceptCriteriaFactoryGenerator
[INFO]
                Detecting available criteria ...
[INFO]
                creating mapping for com.vaadin.event.dd.acceptcriteria.And
[INFO]
                creating mapping for com.vaadin.ui.Table.TableDropCriterion
[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.event.dd.acceptcriteria.Not
[INFO]
                creating mapping for com.vaadin.ui.Tree.TreeDropCriterion
[INFO]
                creating mapping for com.vaadin.ui.Tree.TargetInSubtree
[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.AcceptItem
[INFO]
                creating mapping for com.vaadin.event.dd.acceptcriteria.Or
[INFO]
                creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs
[INFO]
                creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
[INFO]
                creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll
[INFO]
                Done. (0seconds)
[INFO]
    Compiling 5 permutations
[INFO]
       Compiling permutation 0...
[INFO]
       Process output
[INFO]
          Compiling
[INFO]
             Compiling permutation 1...
[INFO]
       Process output
[INFO]
          Compiling
[INFO]
             Compiling permutation 3...
[INFO]
       Process output
[INFO]
          Compiling
[INFO]
             Compiling permutation 2...
[INFO]
       Compiling permutation 4...
[INFO]
    Compile of permutations succeeded
[INFO]
 Linking into d:\dev\COM\JAVA\GAMIFICATION\.collab0\source\my-gam-admin2\target\my-gam-admin2-0.0.1-SNAPSHOT\VAADIN\widgetsets\main.java.com.gamification.vaadi
n.widgetset.My_gam_admin2Widgetset
[INFO]
    Link succeeded
[INFO]
    Compilation succeeded -- 169,802s


this is my widgetset.gwt.xml file


<module>

    <inherits name="org.vaadin.aceeditor.gwt.AceEditorWidgetSet" />

    <inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />

    <inherits name="org.vaadin.cssinject.Cssinject_addonWidgetset" />
</module>


this is my content of web.xml


	<context-param>
		<description>Vaadin production mode</description>
		<param-name>productionMode</param-name>
		<param-value>false</param-value>
	</context-param>
	<servlet>
		<servlet-name>Vaadin Application Servlet</servlet-name>
		<servlet-class>com.vaadin.terminal.gwt.server.ApplicationServlet</servlet-class>
		<init-param>
			<description>Vaadin application class to start</description>
			<param-name>application</param-name>
			<param-value>com.vaadin.MyVaadinApplication</param-value>
		</init-param>
		<init-param>
			<description>Widget Set to Use</description>
			<param-name>widgetset</param-name>
			<param-value>com.vaadin.widgetset.My_gam_admin2Widgetset</param-value>
		</init-param>
	</servlet>


this is my project tree after compilation


├───src
│   └───main
│       ├───java
│       │   └───com
│       │        └───vaadin
│       │              └───widgetset
│       │                           My_gam_admin2Widgetset.gwt.xml
│       │
│       └───webapp
│           ├───META-INF
│           │       context.xml
│           │       MANIFEST.MF
│           │
│           ├───VAADIN
│           │   ├───themes
│           │   │   └───gamtheme
│           │   │           styles.css
│           │   │
│           │   └───widgetsets
│           └───WEB-INF
│                   web.xml
│
└───target
    │   my-gam-admin2-0.0.1-SNAPSHOT.war
    │
    ├───.generated
    │   └───com
    │       ├───google
    │       │   └───gwt
    │       │       ├───i18n
    │       │       │   └───client
    │       │       │       ├───constants
    │       │       │       │       NumberConstantsImpl_.java
    │       │       │       │
    │       │       │       └───impl
    │       │       │               LocaleInfoImpl_.java
    │       │       │               LocaleInfoImpl_shared.java
    │       │       │
    │       │       └───user
    │       │           └───client
    │       │               ├───impl
    │       │               │       WindowImplIE_Resources_default_InlineClientBundleGenerator.java
    │       │               │       WindowImplIE_Resources_default_StaticClientBundleGenerator.java
    │       │               │
    │       │               └───ui
    │       │                       DisclosurePanel_DefaultImages_default_InlineClientBundleGenerator.java
    │       │                       DisclosurePanel_DefaultImages_default_StaticClientBundleGenerator.java
    │       │                       MenuBar_Resources_default_InlineClientBundleGenerator.java
    │       │                       MenuBar_Resources_default_StaticClientBundleGenerator.java
    │       │                       Tree_Resources_default_InlineClientBundleGenerator.java
    │       │                       Tree_Resources_default_StaticClientBundleGenerator.java
    │       │
    │       └───vaadin
    │           └───terminal
    │               └───gwt
    │                   └───client
    │                       │   WidgetMapImpl.java
    │                       │
    │                       └───ui
    │                           ├───dd
    │                           │       VAcceptCriterionFactoryImpl.java
    │                           │
    │                           └───richtextarea
    │                                   VRichTextToolbar_Images_default_InlineClientBundleGenerator.java
    │                                   VRichTextToolbar_Images_default_StaticClientBundleGenerator.java
    │                                   VRichTextToolbar_Strings_.java
    │
    ├───classes
    │   └───main
    │        └───java
    │             └───com
    │                  └───vaadin
    │                         └───widgetset
    │                                 My_gam_admin2Widgetset.gwt.xml
    │
    ├───maven-archiver
    │       pom.properties
    │
    └───my-gam-admin2-0.0.1-SNAPSHOT
        ├───META-INF
        │       context.xml
        │       MANIFEST.MF
        │
        ├───VAADIN
        │   ├───themes
        │   │   └───gamtheme
        │   │           styles.css
        │   │
        │   └───widgetsets
        │       ├───main.java.com.vaadin.widgetset.My_gam_admin2Widgetset
        │       │   │   0A9476898799A150D840F0B1C3672921.cache.png
        │       │   │   1F170627EC358B03DDDA341F52B1A367.cache.html
        │       │   │   396F806CD63ABD414BFBB9D57429F05B.cache.png
        │       │   │   7027C860EC6B445825B72CEFDA64B105.cache.html
        │       │   │   9E24421B9AAD1B6E219EA038074AC3ED.cache.html
        │       │   │   ace-gwt.css
        │       │   │   ace-vaadin-markers.css
        │       │   │   ace-vaadin.css
        │       │   │   C75F67C7925E3B6200A224DBFCE50D1A.cache.html
        │       │   │   clear.cache.gif
        │       │   │   DE709C1CAB0F65BCC5BEF11EDA73A925.cache.png
        │       │   │   DF7764EEC1903CD03C9545B354D8D8E4.cache.png
        │       │   │   E13D57BA3DD3B7FA3EA94F5D2F1FD12C.cache.html
        │       │   │   E44767377485D18D6B6864F65BA8EF73.cache.png
        │       │   │   EDC7827FEEA59EE44AD790B1C6430C45.cache.png
        │       │   │   hosted.html
        │       │   │
        │       │   ├───ace
        │       │   │       ace.js
        │       │   │       ext-static_highlight.js
        │       │   │       ext-textarea.js
        │       │   │       keybinding-emacs.js
        │       │   │       keybinding-vim.js
        │       │   │       LICENSE
        │       │   │       mode-asciidoc.js
        │       │   │       mode-c9search.js
        │       │   │       mode-clojure.js
        │       │   │       mode-coffee.js
        │       │   │       mode-coldfusion.js
        │       │   │       mode-csharp.js
        │       │   │       mode-css.js
        │       │   │       mode-c_cpp.js
        │       │   │       mode-diff.js
        │       │   │       mode-glsl.js
        │       │   │       mode-golang.js
        │       │   │       mode-groovy.js
        │       │   │       mode-haxe.js
        │       │   │       mode-html.js
        │       │   │       mode-jade.js
        │       │   │       mode-java.js
        │       │   │       mode-javascript.js
        │       │   │       mode-json.js
        │       │   │       mode-jsp.js
        │       │   │       mode-jsx.js
        │       │   │       mode-latex.js
        │       │   │       mode-less.js
        │       │   │       mode-liquid.js
        │       │   │       mode-lua.js
        │       │   │       mode-luapage.js
        │       │   │       mode-markdown.js
        │       │   │       mode-ocaml.js
        │       │   │       mode-perl.js
        │       │   │       mode-pgsql.js
        │       │   │       mode-php.js
        │       │   │       mode-powershell.js
        │       │   │       mode-python.js
        │       │   │       mode-ruby.js
        │       │   │       mode-scad.js
        │       │   │       mode-scala.js
        │       │   │       mode-scss.js
        │       │   │       mode-sh.js
        │       │   │       mode-sql.js
        │       │   │       mode-svg.js
        │       │   │       mode-tcl.js
        │       │   │       mode-text.js
        │       │   │       mode-textile.js
        │       │   │       mode-typescript.js
        │       │   │       mode-xml.js
        │       │   │       mode-xquery.js
        │       │   │       mode-yaml.js
        │       │   │       theme-ambiance.js
        │       │   │       theme-chrome.js
        │       │   │       theme-clouds.js
        │       │   │       theme-clouds_midnight.js
        │       │   │       theme-cobalt.js
        │       │   │       theme-crimson_editor.js
        │       │   │       theme-dawn.js
        │       │   │       theme-dreamweaver.js
        │       │   │       theme-eclipse.js
        │       │   │       theme-github.js
        │       │   │       theme-idle_fingers.js
        │       │   │       theme-kr.js
        │       │   │       theme-merbivore.js
        │       │   │       theme-merbivore_soft.js
        │       │   │       theme-monokai.js
        │       │   │       theme-mono_industrial.js
        │       │   │       theme-pastel_on_dark.js
        │       │   │       theme-solarized_dark.js
        │       │   │       theme-solarized_light.js
        │       │   │       theme-textmate.js
        │       │   │       theme-tomorrow.js
        │       │   │       theme-tomorrow_night.js
        │       │   │       theme-tomorrow_night_blue.js
        │       │   │       theme-tomorrow_night_bright.js
        │       │   │       theme-tomorrow_night_eighties.js
        │       │   │       theme-twilight.js
        │       │   │       theme-vibrant_ink.js
        │       │   │       theme-xcode.js
        │       │   │       worker-coffee.js
        │       │   │       worker-css.js
        │       │   │       worker-javascript.js
        │       │   │       worker-json.js
        │       │   │       worker-xquery.js
        │       │   │
        │       │   └───ie6pngfix
        │       │           blank.gif
        │       │
        │       └───WEB-INF
        │           └───deploy
        │               └───main.java.com.vaadin.widgetset.My_gam_admin2Widgetset
        │                   ├───rpcPolicyManifest
        │                   │       manifest.txt
        │                   │
        │                   └───symbolMaps
        └───WEB-INF
            │   web.xml
            │
            ├───classes
            │   ├───main
            │      └───java
            │          └───com
            │               └───vaadin
            │                     └───widgetset
            │                              		My_gam_admin2Widgetset.gwt.xml
            │
            └───lib
                    aceeditor-0.3.1.jar
                    col-0.1.1.jar
                    cssinject-1.0.jar
                    javax.servlet-api-3.0.1.jar
                    MVP-Lite-1.0.jar
                    slf4j-api-1.6.2.jar
                    slf4j-simple-1.7.2.jar
                    vaadin-6.8.2.jar

In your project there should be a folder filled with the files your compiled widgetset either in WebContent/VAADIN or in src/main/webapp/VAADIN (you may have to refresh your Project).
If you found it in one of them try copying the entire folder to the other location and then run your app again.
If it works now then you have to change something in your pom.xml (I don’t know exactly which tag as i don’t have a Vaadin dev environment ready right now) to point into the right location.

If you can’t find anything then your widgetset compilation either failed or isn’t finished. You shouldn’t actually have to execute gwt:compile and update-widgetset. You just have to add your widgetset.gwt.xml file, point to it from the web.xml and then run mvn package tomcat:run (if you use tomcat) but make sure that the update-widgetset part in your pom.xml is not commented out.