Vaadin 7 error with custom widget Widgetset does not contain implementation

Hi,

I’m using Vaadin 7 to create a custom widget with google maps. It’s compiling perfectly, but when i try to use it, it says:

Widgetset does not contain implementation for com.viagps.maps.widget.GoogleMapWidget. Check its component connector’s @Connect 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.

Until i upgrade to Vaadin 7, i can use the widget perfectly.

Do you know if the gwt.xml file must have the same name that de class widget?

The Viagps_maps_vaadinWidgetset.gwt.xml file:

<?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.DefaultWidgetSet" />
    <inherits name="com.google.gwt.maps.Maps" />
    
    <source path="client" />
</module>

And web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<web-app id="WebApp_ID" version="2.4"
	xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
	<display-name>viagps-maps-vaadin</display-name>
	<context-param>
		<description>Vaadin production mode</description>
		<param-name>productionMode</param-name>
		<param-value>false</param-value>
	</context-param>
	<servlet>
		<servlet-name>Viagps_maps_vaadinApplication</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.viagps.maps.Viagps_maps_vaadinApplication</param-value>
		</init-param>
		<init-param>
			<param-name>widgetset</param-name>
			<param-value>com.viagps.maps.widget.Viagps_maps_vaadinWidgetset</param-value>
		</init-param>
	</servlet>
	<servlet-mapping>
		<servlet-name>Viagps_maps_vaadinApplication</servlet-name>
		<url-pattern>/*</url-pattern>
	</servlet-mapping>
</web-app>

And the name of the widget class is GoogleMapWidget and extends from AbstractComponent.

When i run the application in debug mode, it has the shared state with the data but instead of says the name of the connector, it says:

UnknownComponentConnector.

Can someone help me please?

Thanks in advance.

When i compile with vaadin:clean vaadin:compile, the compilation process is succesfull, but when i try with gwt:compile it throws this exception:

[INFO]
    [ERROR]
 Unexpected internal compiler error
[INFO]
 java.lang.RuntimeException: Unexpected IOException on in-memory stream
[INFO]
 	at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:360)
[INFO]
 	at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:672)
[INFO]
 	at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeBySource(UnifyAst.java:985)
[INFO]
 	at com.google.gwt.dev.jjs.impl.UnifyAst.addRootTypes(UnifyAst.java:530)
[INFO]
 	at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:621)
[INFO]
 	at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
[INFO]
 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
[INFO]
 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
[INFO]
 	at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
[INFO]
 	at com.google.gwt.dev.Compiler.run(Compiler.java:232)
[INFO]
 	at com.google.gwt.dev.Compiler.run(Compiler.java:198)
[INFO]
 	at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
[INFO]
 	at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
[INFO]
 	at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
[INFO]
 	at com.google.gwt.dev.Compiler.main(Compiler.java:177)
[INFO]
 Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.ast.JDeclaredType; local class incompatible: stream classdesc serialVersionUID = -1052417216019896795, local class serialVersionUID = -8155793964565947646
[INFO]
 	at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:579)
[INFO]
 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
[INFO]
 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
[INFO]
 	at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1600)
[INFO]
 	at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1513)
[INFO]
 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1749)
[INFO]
 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
[INFO]
 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
[INFO]
 	at java.util.ArrayList.readObject(ArrayList.java:696)
[INFO]
 	at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
[INFO]
 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[INFO]
 	at java.lang.reflect.Method.invoke(Method.java:616)
[INFO]
 	at java.io.ObjectStreamClass.invokeReadObject(ObjectStreamClass.java:988)
[INFO]
 	at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1865)
[INFO]
 	at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1770)
[INFO]
 	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1346)
[INFO]
 	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
[INFO]
 	at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:203)
[INFO]
 	at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:358)
[INFO]
 	... 14 more

Here i have attached the source code.

Please someone help me.

Thanks a lot!!!
12835.zip (373 KB)

have you succeeded to deploy this widget. I need to use Google map with vaadin 7 but without any success; Any help please??