I think you will need to debug the problem. How familiar are you with widgetset compilation? Have you configured your AppWidgetSet.gwt.xml correctly? Have you cleared all previous intermediate artifact widgets from your src directory?
(This has hurt me in the past, especially when switching from Vaadin 6 to 7. I have a specific pure maven target that I uncommented when moving versions of Vaadin to remove the directories /src/main/webapp/VAADIN/widgetsets and /src/main/webapp/VAADIN/gwt-unitCache . Otherwise, it will not completely recompile widgetset.)
Finally, did you run the Ant-specific command to recompile the Vaadin widget?
I do not like to answer this answer, but is there a specific reason why you are using Ant? If not, you can use the maven pom that is created when you create the Vaadin 7 project using the following instructions: from the wiki .
Add the following plugin command to pom.xml:
<plugin> <artifactId>maven-clean-plugin</artifactId> <version>2.4.1</version> <configuration> <filesets> <fileset> <directory>${basedir}/src/main/webapp/VAADIN/widgetsets</directory> <directory>${basedir}/src/main/webapp/VAADIN/gwt-unitCache</directory> </fileset> </filesets> </configuration> </plugin>
Then run: mvn clean vaadin:clean package , and everything will be fine.
source share