“Widgetset does not contain implementation for org.vaadin.addons.locationtextfield.LocationTextField. 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:
-Unrendered UIDL
-org.vaadin.addons.locationtextfield.LocationTextField(NO CLIENT IMPLEMENTATION FOUND) id=PID2 width=100.0% immediate=true caption=Address: pagelength=10 filteringmode=0 totalitems=0 textChanged=true iem=LAZY iet=1000 eke=true
-variables
selected=
filter=
page=0
ltfFilter=
-options”
I’m using a ton of other addons, and they are all working correctly. I’ve tried looking at similar threads but I didn’t seem to find a solution that worked for me.
Make sure you have compiled your widgetset, refer to it in your web.xml and all caches are refreshed. Compile the widgetset with verbose mode enabled to see more information about what is included in it.
GWT compiler compiles fine without any warnings or errors.
Compiling widgetset com.example.finamina.widgetset.FinaminaWidgetset
Updating GWT module description file...
Jun 27, 2012 10:33:09 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Widgetsets found from classpath:
com.github.wolfie.refresher.RefresherApplicationWidgetset in jar:file:D:/Me/MyData/Eclipse/WorkspaceNetworking/Finamina/WebContent/WEB-INF/lib/refresher-1.1.1.jar!/
com.vaadin.terminal.gwt.DefaultWidgetSet in jar:file:D:/Me/MyData/Eclipse/WorkspaceNetworking/Finamina/WebContent/WEB-INF/lib/vaadin-6.8.0.jar!/
org.vaadin.addons.locationtextfield.LocationTextFieldWidgetset in jar:file:D:/Me/MyData/Eclipse/WorkspaceNetworking/Finamina/WebContent/WEB-INF/lib/locationtextfield-1.2.3.jar!/
org.vaadin.peter.imagescaler.ImageScalerWidgetset in jar:file:D:/Me/MyData/Eclipse/WorkspaceNetworking/Finamina/WebContent/WEB-INF/lib/ImageScaler-1.0.jar!/
com.example.finamina.widgetset.FinaminaWidgetset in file://D/Me/MyData/Eclipse/WorkspaceNetworking/Finamina/src
Jun 27, 2012 10:33:09 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getAvailableWidgetSets
INFO: Search took 8ms
Done.
Starting GWT compiler
Jun 27, 2012 10:33:26 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Searching for paintables..
Jun 27, 2012 10:33:28 AM com.vaadin.terminal.gwt.widgetsetutils.ClassPathExplorer getPaintablesHavingWidgetAnnotation
INFO: Search took 1280ms
Widgetset compilation completed
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.vaadin.terminal.gwt.DefaultWidgetSet" />
<!--
Uncomment the following to compile the widgetset for one browser only.
This can reduce the GWT compilation time significantly when debugging.
The line should be commented out before deployment to production
environments.
Multiple browsers can be specified for GWT 1.7 as a comma separated
list. The supported user agents at the moment of writing were:
ie6,ie8,gecko,gecko1_8,safari,opera
The value gecko1_8 is used for Firefox 3 and later and safari is used for
webkit based browsers including Google Chrome.
-->
<!-- <set-property name="user.agent" value="gecko1_8"/> -->
<inherits name="org.vaadin.peter.imagescaler.ImageScalerWidgetset" />
<inherits name="com.github.wolfie.refresher.RefresherApplicationWidgetset" />
<inherits name="org.vaadin.addons.locationtextfield.LocationTextFieldWidgetset" />
</module>
Based on the verbose output, Refresher and ImageScaler are included in the widgetset but LocationTextField is not.
My initial suspicion would be that the client side source code of LocationTextField is not on your widgetset compilation classpath. Unfortunately, you cannot modify the widgetset compilation classpath directly in Eclipse so if the sources are not in the same JAR as the classes, you either need to modify the JAR (taking care that the manifest stays as the first entry - preferably working with “jar” instead of other archive management tools) or create a separate launch configuration for running the widgetset compiler class directly with your customized classpath.
Another possibility would be missing dependencies or their client side sources for LocationTextField.
Check whether the main JAR of LocationTextField contains *.java source code files e.g. with “jar tvf locationtextfield.jar”. Then contact the author in
this thread . It seems to be built using and for Maven so maybe the source code is not in the JAR but in a separate JAR where Maven projects can find it but the “Compile widgetset” button in the Eclipse plug-in doesn’t.