Hi
I have some problem with widget compilation, I recieve the following exception from the CMD.
Will any one help me?
Thanks.
[WARN]
Unable to read: jar:file:/C:/Users/Mustafa%20Mohammadi/workspace/First_Vaading_App/WebContent/WEB-INF/lib/gwt-user.jar!/com/google/gwt/user/User.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.js.ast.JsScope; local class incompatible: stream classdesc serialVersionUID = 7669806435707826603, local class serialVersionUID = 1496404420048498478
[WARN]
Unable to read: jar:file:/C:/Users/Mustafa%20Mohammadi/workspace/First_Vaading_App/WebContent/WEB-INF/lib/gwt-user.jar!/com/google/gwt/core/Core.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.js.ast.JsScope; local class incompatible: stream classdesc serialVersionUID = 7669806435707826603, local class serialVersionUID = 1496404420048498478
[WARN]
Unable to read: jar:file:/C:/Users/Mustafa%20Mohammadi/workspace/First_Vaading_App/WebContent/WEB-INF/lib/gwt-user.jar!/com/google/gwt/regexp/RegExp.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.js.ast.JsName; local class incompatible: stream classdesc serialVersionUID = 8615984591349022389, local class serialVersionUID = 685355049685224218
[WARN]
Unable to read: jar:file:/C:/Users/Mustafa%20Mohammadi/workspace/First_Vaading_App/WebContent/WEB-INF/lib/gwt-user.jar!/com/google/gwt/json/JSON.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.js.ast.JsName; local class incompatible: stream classdesc serialVersionUID = 8615984591349022389, local class serialVersionUID = 685355049685224218
[WARN]
Unable to read: jar:file:/C:/Users/Mustafa%20Mohammadi/workspace/First_Vaading_App/WebContent/WEB-INF/lib/gwt-user.jar!/com/google/gwt/logging/Logging.gwtar. Skipping: java.io.InvalidClassException: com.google.gwt.dev.js.ast.JsName; local class incompatible: stream classdesc serialVersionUID = 8615984591349022389, local class serialVersionUID = 685355049685224218
Validating units:
Ignored 10 units with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
[ERROR]
An internal compiler exception occurred
com.google.gwt.dev.jjs.InternalCompilerException: Unexpected error during visit.
at com.google.gwt.dev.jjs.ast.JVisitor.translateException(JVisitor.java:109)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:276)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:79)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JBinaryOperation.traverse(JBinaryOperation.java:81)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:116)
at com.google.gwt.dev.jjs.ast.JReturnStatement.traverse(JReturnStatement.java:39)
at com.google.gwt.dev.jjs.ast.JModVisitor$ListContextImmutable.traverse(JModVisitor.java:170)
at com.google.gwt.dev.jjs.ast.JModVisitor.acceptWithInsertRemoveImmutable(JModVisitor.java:336)
at com.google.gwt.dev.jjs.ast.JBlock.traverse(JBlock.java:83)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:137)
at com.google.gwt.dev.jjs.ast.JVisitor.accept(JVisitor.java:133)
at com.google.gwt.dev.jjs.ast.JMethodBody.traverse(JMethodBody.java:82)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.ast.JMethod.visitChildren(JMethod.java:434)
at com.google.gwt.dev.jjs.ast.JMethod.traverse(JMethod.java:403)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:265)
at com.google.gwt.dev.jjs.impl.UnifyAst.mainLoop(UnifyAst.java:900)
at com.google.gwt.dev.jjs.impl.UnifyAst.exec(UnifyAst.java:625)
at com.google.gwt.dev.jjs.JavaToJavaScriptCompiler.precompile(JavaToJavaScriptCompiler.java:683)
at com.google.gwt.dev.jjs.JavaScriptCompiler.precompile(JavaScriptCompiler.java:33)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:278)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:229)
at com.google.gwt.dev.Precompile.precompile(Precompile.java:141)
at com.google.gwt.dev.Compiler.run(Compiler.java:232)
at com.google.gwt.dev.Compiler.run(Compiler.java:198)
at com.google.gwt.dev.Compiler$1.run(Compiler.java:170)
at com.google.gwt.dev.CompileTaskRunner.doRun(CompileTaskRunner.java:88)
at com.google.gwt.dev.CompileTaskRunner.runWithAppropriateLogger(CompileTaskRunner.java:82)
at com.google.gwt.dev.Compiler.main(Compiler.java:177)
at com.vaadin.tools.WidgetsetCompiler$1.run(WidgetsetCompiler.java:80)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Unexpected IOException on in-memory stream
at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:360)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:670)
at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:968)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1031)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1022)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:938)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:676)
at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:968)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1031)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1022)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:938)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:676)
at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:968)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1031)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1022)
at com.google.gwt.dev.jjs.impl.UnifyAst.resolveType(UnifyAst.java:938)
at com.google.gwt.dev.jjs.impl.UnifyAst.assimilateUnit(UnifyAst.java:676)
at com.google.gwt.dev.jjs.impl.UnifyAst.searchForTypeByBinary(UnifyAst.java:968)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1031)
at com.google.gwt.dev.jjs.impl.UnifyAst.translate(UnifyAst.java:1083)
at com.google.gwt.dev.jjs.impl.UnifyAst.access$800(UnifyAst.java:120)
at com.google.gwt.dev.jjs.impl.UnifyAst$UnifyVisitor.visit(UnifyAst.java:333)
at com.google.gwt.dev.jjs.ast.JMethodCall.traverse(JMethodCall.java:240)
at com.google.gwt.dev.jjs.ast.JModVisitor.traverse(JModVisitor.java:361)
at com.google.gwt.dev.jjs.ast.JModVisitor.accept(JModVisitor.java:273)
… 44 more
Caused by: java.io.InvalidClassException: com.google.gwt.dev.jjs.ast.JClassType; local class incompatible: stream classdesc serialVersionUID = -5755470413840339357, local class serialVersionUID = 5448424694864192201
at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at java.util.ArrayList.readObject(Unknown Source)
at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
at java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.io.ObjectInputStream.readObject0(Unknown Source)
at java.io.ObjectInputStream.readObject(Unknown Source)
at com.google.gwt.dev.jjs.ast.JProgram.deserializeTypes(JProgram.java:203)
at com.google.gwt.dev.javac.CompilationUnit.getTypes(CompilationUnit.java:358)
… 68 more
[ERROR]
at ApplicationConfiguration.java(684): Window$Location.getParameter(“debug”)
com.google.gwt.dev.jjs.ast.JMethodCall
[ERROR]
at ApplicationConfiguration.java(684): Window$Location.getParameter(“debug”) != null
com.google.gwt.dev.jjs.ast.JBinaryOperation
[ERROR]
at ApplicationConfiguration.java(683): ApplicationConfiguration.isDebugAvailable() && Window$Location.getParameter(“debug”) != null
com.google.gwt.dev.jjs.ast.JBinaryOperation
[ERROR]
at ApplicationConfiguration.java(683): return ApplicationConfiguration.isDebugAvailable() && Window$Location.getParameter(“debug”) != null
com.google.gwt.dev.jjs.ast.JReturnStatement
[ERROR]
at ApplicationConfiguration.java(682): {
return ApplicationConfiguration.isDebugAvailable() && Window$Location.getParameter(“debug”) != null;
}
com.google.gwt.dev.jjs.ast.JBlock
[ERROR]
at ApplicationConfiguration.java(682): {
return ApplicationConfiguration.isDebugAvailable() && Window$Location.getParameter(“debug”) != null;
}
com.google.gwt.dev.jjs.ast.JMethodBody
[ERROR]
at ApplicationConfiguration.java(682): public static boolean isDebugMode();
My first guess would be that you have multiple, mutually incompatible versions of GWT on your classpath?
Which Vaadin version are you using?
How have you created the project?
How are you triggering widgetset compilation?
Which GWT version do you have on your classpath (as it looks like this is a Vaadin 6 project, with separate GWT JARs)?
Thanks Dear Henri Sara, my problem is solved.
I am using
vaadin 7.1.11
plugin in
eclipse
, created project using it and I had added
GWT 2.6.0
jar files to my project which had caused the compiler confusion.
After compiling widget and adding to the UI class, in the browser I have got the following message:
Widgetset 'com.vaadin.DefaultWidgetSet' does not contain implementation for com.example.addressbook1.MyComponent. Check its component connector's @Connect mapping, widgetsets GWT module description file and re-compile your widgetset
I know if it is from
.gwt.xml
configuration but I have not found any usefull link to solve it, (neither google nor book). What sould I do?
Thanks.
It seems like you’re trying to add a custom client-side component called “MyComponent” and you either made something wrong when setting it up or you didn’t recompile your widgetset after adding the component what it seems like you’re clearly doing.
So you should look at following things:
Is your Connect annotation and Connector class set up properly
Make sure the classes of your custom component in this structure:
Dear Marius Reinwald, I have checked all of the points that you mentioned. All of the are set as you said but I have the problem yet.
This is my .gwt.xml file:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.vaadin.DefaultWidgetSet" />
<!-- with some comments -->
</module>
My class hierarchy is like this: (The Client is in the server package) it’s picture is attached.
->some.package.client
'->MyComponentClientSideWidget
'->MyComponentConnector
'->MyComponentState
'->MyComponentRPC
And also I have modifyed the web.xml file
<init-param>
<param-name>widgetset</param-name>
<param-value>com.example.addressbook1.client.mycomponent.MyComponentWidget</param-value>
</init-param>
Help me Please.
Thanks.
First, make sure your widgetset compilation takes place with the -strict switch and with verbose output, and check the output to see if your component is listed as included in the widgetset. You could also paste the ful widgetset compiler output here if unsure of how to interpret it. You can add -strict to the extra parameters text field in Project Properties → Vaadin if necessary.
If you have a posibly stale gwt-unitCache directory (from when you compiled with an older version or with GWT 2.6 JARs) somewhere in your project, delete it before recompiling the widgetset.
Finally, if the previous steps do not reveal any problems, make sure your application server caches and working directories have been cleaned so that no old version of the widgetset is lurking around there.
Hi
I have created new vaadin widget by the name of
FirstW
I have added -strict to Project Propectise->Vaddin, this is the compiler out put
Executing compiler with command line:
C:\Program Files\Java\jre7\bin\java.exe -Djava.awt.headless=true -Xss8M -Xmx512M -XX:MaxPermSize=512M -classpath C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\lib\ext\dnsns.jar;C:\Program Files\Java\jre7\lib\ext\localedata.jar;C:\Program Files\Java\jre7\lib\ext\sunec.jar;C:\Program Files\Java\jre7\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre7\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre7\lib\ext\zipfs.jar;C:/Users/Mustafa Mohammadi/workspace/AddressBook1/src;C:/Users/Mustafa Mohammadi/workspace/AddressBook1/build/classes;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-client/jars/vaadin-client-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-shared/jars/vaadin-shared-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-shared-deps/jars/vaadin-shared-deps-1.0.2.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-server/jars/vaadin-server-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-theme-compiler/jars/vaadin-theme-compiler-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.apache.commons/commons-jexl/jars/commons-jexl-2.1.1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/commons-logging/commons-logging/jars/commons-logging-1.1.1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.w3c.css/sac/jars/sac-1.3.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/net.sourceforge.cssparser/cssparser/jars/cssparser-0.9.5.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/commons-cli/commons-cli/jars/commons-cli-1.2.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.jsoup/jsoup/jars/jsoup-1.6.3.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/javax.validation/validation-api/jars/validation-api-1.0.0.GA-sources.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-client-compiler/jars/vaadin-client-compiler-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/commons-collections/commons-collections/jars/commons-collections-3.1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/ant/ant/jars/ant-1.6.5.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/ant/ant-launcher/jars/ant-launcher-1.6.5.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.mortbay.jetty/jetty/jars/jetty-6.1.11.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.mortbay.jetty/jetty-util/jars/jetty-util-6.1.11.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.mortbay.jetty/servlet-api-2.5/jars/servlet-api-2.5-6.1.11.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.jdesktop/swing-worker/jars/swing-worker-1.1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/commons-codec/commons-codec/jars/commons-codec-1.3.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/commons-io/commons-io/jars/commons-io-2.2.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/commons-lang/commons-lang/jars/commons-lang-2.6.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/org.apache.james/apache-mime4j/jars/apache-mime4j-0.6.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-client-compiler-deps/jars/vaadin-client-compiler-deps-1.0.2.jar;C:/Program Files/Java/jre7/lib/resources.jar;C:/Program Files/Java/jre7/lib/rt.jar;C:/Program Files/Java/jre7/lib/jsse.jar;C:/Program Files/Java/jre7/lib/jce.jar;C:/Program Files/Java/jre7/lib/charsets.jar;C:/Program Files/Java/jre7/lib/jfr.jar;C:/Program Files/Java/jre7/lib/ext/dnsns.jar;C:/Program Files/Java/jre7/lib/ext/localedata.jar;C:/Program Files/Java/jre7/lib/ext/sunec.jar;C:/Program Files/Java/jre7/lib/ext/sunjce_provider.jar;C:/Program Files/Java/jre7/lib/ext/sunmscapi.jar;C:/Program Files/Java/jre7/lib/ext/zipfs.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/annotations-api.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/catalina-ant.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/catalina-ha.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/catalina-tribes.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/catalina.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/ecj-4.2.2.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/el-api.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/jasper-el.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/jasper.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/jsp-api.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/mysql-connector-java-5.1.22-bin.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/servlet-api.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-api.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-coyote.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-dbcp.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-i18n-es.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-i18n-fr.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-i18n-ja.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-jdbc.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat-util.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/tomcat7-websocket.jar;E:/Learnly/Computer/Programing/web/JSF/apache-tomcat-7.0.47/lib/websocket-api.jar;C:/Users/Mustafa Mohammadi/workspace/AddressBook1/WebContent/WEB-INF/lib/canvas-2.0.jar;C:/Users/Mustafa Mohammadi/workspace/AddressBook1/WebContent/WEB-INF/lib/vaadin-wrapper-for-tinymce-2.0.0.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-themes/jars/vaadin-themes-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-push/jars/vaadin-push-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin.external.atmosphere/atmosphere-runtime/bundles/atmosphere-runtime-1.0.18.vaadin1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin.external.atmosphere/atmosphere-compat-jbossweb/bundles/atmosphere-compat-jbossweb-1.0.18.vaadin1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin.external.slf4j/vaadin-slf4j-jdk14/jars/vaadin-slf4j-jdk14-1.6.1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin.external.atmosphere/atmosphere-compat-tomcat/bundles/atmosphere-compat-tomcat-1.0.18.vaadin1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin.external.atmosphere/atmosphere-compat-tomcat7/bundles/atmosphere-compat-tomcat7-1.0.18.vaadin1.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-client-compiled/jars/vaadin-client-compiled-7.1.10.jar;C:/Users/Mustafa Mohammadi/.ivy2/cache/javax.servlet/javax.servlet-api/jars/javax.servlet-api-3.0.1.jar -Dgwt.persistentunitcachedir=C:\Users\MUSTAF~1\AppData\Local\Temp\widgetset_com.example.addressbook1.Addressbook1Widgetset9d0730c8-4434-4d77-b3bf-0580f18b2bea com.vaadin.tools.WidgetsetCompiler -war WebContent/VAADIN/widgetsets -deploy C:\Users\MUSTAF~1\AppData\Local\Temp\widgetset_com.example.addressbook1.Addressbook1Widgetset9d0730c8-4434-4d77-b3bf-0580f18b2bea -extra C:\Users\MUSTAF~1\AppData\Local\Temp\widgetset_com.example.addressbook1.Addressbook1Widgetset9d0730c8-4434-4d77-b3bf-0580f18b2bea -localWorkers 4 -logLevel INFO -strict com.example.addressbook1.Addressbook1Widgetset
Updating GWT module description file...
Feb 25, 2014 5:33:16 AM com.vaadin.server.widgetsetutils.ClassPathExplorer getAvailableWidgetSetsAndStylesheets
INFO: Widgetsets found from classpath:
com.example.addressbook1.Addressbook1Widgetset in file://C/Users/Mustafa Mohammadi/workspace/AddressBook1/src
com.vaadin.DefaultWidgetSet in jar:file:C:/Users/Mustafa Mohammadi/.ivy2/cache/com.vaadin/vaadin-client/jars/vaadin-client-7.1.10.jar!/
org.vaadin.tinymceeditor.widgetset.TinymceeditorWidgetset in jar:file:C:/Users/Mustafa Mohammadi/workspace/AddressBook1/WebContent/WEB-INF/lib/vaadin-wrapper-for-tinymce-2.0.0.jar!/
org.vaadin.hezamu.canvas.CanvasWidgetset in jar:file:C:/Users/Mustafa Mohammadi/workspace/AddressBook1/WebContent/WEB-INF/lib/canvas-2.0.jar!/
Addon styles found from classpath:
Feb 25, 2014 5:33:16 AM com.vaadin.server.widgetsetutils.ClassPathExplorer getAvailableWidgetSetsAndStylesheets
INFO: Search took 66ms
Done.
Starting GWT compiler
Compiling module com.example.addressbook1.Addressbook1Widgetset
Resolving com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator
Found type 'com.google.gwt.validation.client.constraints.AbstractDecimalMaxValidator'
Found type 'javax.validation.constraints.DecimalMax'
[WARN]
Detected warnings related to 'javax.validation.Constraint'. Is validation-<version>.jar on the classpath?
Specify -logLevel DEBUG to see all errors.
[WARN]
Ignoring unresolvable annotation type javax.validation.Constraint
Computing all possible rebind results for 'com.vaadin.client.metadata.ConnectorBundleLoader'
Rebinding com.vaadin.client.metadata.ConnectorBundleLoader
Invoking generator com.vaadin.server.widgetsetutils.ConnectorBundleLoaderFactory
Populating eager bundle
Visiting VerticalLayoutConnector with ConnectorInitVisitor
VerticalLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.orderedlayout.VerticalLayoutState as a bean
Will serialize class java.util.HashMap<com.vaadin.shared.Connector, com.vaadin.shared.ui.orderedlayout.AbstractOrderedLayoutState.ChildComponentData> as a bean
Will serialize class com.vaadin.shared.ui.orderedlayout.AbstractOrderedLayoutState.ChildComponentData as a bean
Will serialize class com.vaadin.shared.communication.URLReference using URLReference_Serializer
Visiting TableConnector with ConnectorInitVisitor
TableConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.table.TableState as a bean
Visiting UIConnector with ConnectorInitVisitor
UIConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.ui.UIState as a bean
Will serialize class com.vaadin.shared.ui.ui.UIState.LocaleServiceState as a bean
Will serialize class com.vaadin.shared.ui.ui.UIState.LocaleData as a bean
Will serialize java.lang.String[] as an array
Will serialize class com.vaadin.shared.ui.ui.UIState.LoadingIndicatorConfigurationState as a bean
Will serialize class com.vaadin.shared.ui.ui.PageState as a bean
Will serialize class com.vaadin.shared.ui.ui.UIState.PushConfigurationState as a bean
Will serialize class com.vaadin.shared.communication.PushMode as an enum
Will serialize class com.vaadin.shared.ui.ui.UIState.TooltipConfigurationState as a bean
Visiting CanvasConnector with ConnectorInitVisitor
CanvasConnector will be in the eager bundle
Will serialize class com.vaadin.shared.AbstractComponentState as a bean
Visiting NativeSelectConnector with ConnectorInitVisitor
NativeSelectConnector will be in the eager bundle
Will serialize class com.vaadin.shared.AbstractFieldState as a bean
Visiting CustomComponentConnector with ConnectorInitVisitor
CustomComponentConnector will be in the eager bundle
Visiting WindowConnector with ConnectorInitVisitor
WindowConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.window.WindowState as a bean
Will serialize class com.vaadin.shared.ui.window.WindowMode as an enum
Visiting PasswordFieldConnector with ConnectorInitVisitor
PasswordFieldConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.textfield.AbstractTextFieldState as a bean
Visiting InlineDateFieldConnector with ConnectorInitVisitor
InlineDateFieldConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.datefield.InlineDateFieldState as a bean
Will serialize class java.util.Date as a bean
Visiting PanelConnector with ConnectorInitVisitor
PanelConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.panel.PanelState as a bean
Visiting CustomFieldConnector with ConnectorInitVisitor
CustomFieldConnector will be in the eager bundle
Visiting DragAndDropWrapperConnector with ConnectorInitVisitor
DragAndDropWrapperConnector will be in the eager bundle
Visiting LinkConnector with ConnectorInitVisitor
LinkConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.link.LinkState as a bean
Visiting BrowserWindowOpenerConnector with ConnectorInitVisitor
BrowserWindowOpenerConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.BrowserWindowOpenerState as a bean
Visiting ImageConnector with ConnectorInitVisitor
ImageConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.image.ImageState as a bean
Visiting LabelConnector with ConnectorInitVisitor
LabelConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.label.LabelState as a bean
Will serialize class com.vaadin.shared.ui.label.ContentMode as an enum
Visiting BrowserFrameConnector with ConnectorInitVisitor
BrowserFrameConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.browserframe.BrowserFrameState as a bean
Visiting TabsheetConnector with ConnectorInitVisitor
TabsheetConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.tabsheet.TabsheetState as a bean
Visiting TreeConnector with ConnectorInitVisitor
TreeConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.tree.TreeState as a bean
Visiting NativeButtonConnector with ConnectorInitVisitor
NativeButtonConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.button.NativeButtonState as a bean
Visiting EmbeddedConnector with ConnectorInitVisitor
EmbeddedConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.embedded.EmbeddedState as a bean
Visiting PopupDateFieldConnector with ConnectorInitVisitor
PopupDateFieldConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.datefield.PopupDateFieldState as a bean
Visiting FlashConnector with ConnectorInitVisitor
FlashConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.flash.FlashState as a bean
Visiting CssLayoutConnector with ConnectorInitVisitor
CssLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.csslayout.CssLayoutState as a bean
Visiting AudioConnector with ConnectorInitVisitor
AudioConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.AbstractMediaState as a bean
Visiting VideoConnector with ConnectorInitVisitor
VideoConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.video.VideoState as a bean
Visiting CustomLayoutConnector with ConnectorInitVisitor
CustomLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.customlayout.CustomLayoutState as a bean
Visiting AbsoluteLayoutConnector with ConnectorInitVisitor
AbsoluteLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.absolutelayout.AbsoluteLayoutState as a bean
Visiting HorizontalLayoutConnector with ConnectorInitVisitor
HorizontalLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.orderedlayout.HorizontalLayoutState as a bean
Visiting TextFieldConnector with ConnectorInitVisitor
TextFieldConnector will be in the eager bundle
Visiting ListSelectConnector with ConnectorInitVisitor
ListSelectConnector will be in the eager bundle
Visiting FileDownloaderConnector with ConnectorInitVisitor
FileDownloaderConnector will be in the eager bundle
Will serialize class com.vaadin.shared.communication.SharedState as a bean
Visiting GridLayoutConnector with ConnectorInitVisitor
GridLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.gridlayout.GridLayoutState as a bean
Will serialize class com.vaadin.shared.ui.gridlayout.GridLayoutState.ChildComponentData as a bean
Visiting ButtonConnector with ConnectorInitVisitor
ButtonConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.button.ButtonState as a bean
Visiting TwinColSelectConnector with ConnectorInitVisitor
TwinColSelectConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.twincolselect.TwinColSelectState as a bean
Visiting FormConnector with ConnectorInitVisitor
FormConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.form.FormState as a bean
Visiting JavaScriptExtension with ConnectorInitVisitor
JavaScriptExtension will be in the eager bundle
Will serialize class com.vaadin.shared.JavaScriptExtensionState as a bean
Visiting TextAreaConnector with ConnectorInitVisitor
TextAreaConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.textarea.TextAreaState as a bean
Visiting ProgressBarConnector with ConnectorInitVisitor
ProgressBarConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.progressindicator.ProgressBarState as a bean
Visiting UploadConnector with ConnectorInitVisitor
UploadConnector will be in the eager bundle
Visiting FormLayoutConnector with ConnectorInitVisitor
FormLayoutConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.orderedlayout.AbstractOrderedLayoutState as a bean
Visiting JavaScriptManagerConnector with ConnectorInitVisitor
JavaScriptManagerConnector will be in the eager bundle
Will serialize class com.vaadin.shared.extension.javascriptmanager.JavaScriptManagerState as a bean
Visiting ProgressIndicatorConnector with ConnectorInitVisitor
ProgressIndicatorConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.progressindicator.ProgressIndicatorState as a bean
Visiting SliderConnector with ConnectorInitVisitor
SliderConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.slider.SliderState as a bean
Will serialize class com.vaadin.shared.ui.slider.SliderOrientation as an enum
Visiting ComboBoxConnector with ConnectorInitVisitor
ComboBoxConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.combobox.ComboBoxState as a bean
Visiting CheckBoxConnector with ConnectorInitVisitor
CheckBoxConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.checkbox.CheckBoxState as a bean
Visiting AccordionConnector with ConnectorInitVisitor
AccordionConnector will be in the eager bundle
Visiting VerticalSplitPanelConnector with ConnectorInitVisitor
VerticalSplitPanelConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.splitpanel.VerticalSplitPanelState as a bean
Will serialize class com.vaadin.shared.ui.splitpanel.AbstractSplitPanelState.SplitterState as a bean
Visiting TinyMCEConnector with ConnectorInitVisitor
TinyMCEConnector will be in the eager bundle
Visiting JavaScriptComponentConnector with ConnectorInitVisitor
JavaScriptComponentConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.JavaScriptComponentState as a bean
Visiting OptionGroupConnector with ConnectorInitVisitor
OptionGroupConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.optiongroup.OptionGroupState as a bean
Visiting PopupViewConnector with ConnectorInitVisitor
PopupViewConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.popupview.PopupViewState as a bean
Visiting HorizontalSplitPanelConnector with ConnectorInitVisitor
HorizontalSplitPanelConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.splitpanel.HorizontalSplitPanelState as a bean
Visiting MenuBarConnector with ConnectorInitVisitor
MenuBarConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.menubar.MenuBarState as a bean
Visiting TreeTableConnector with ConnectorInitVisitor
TreeTableConnector will be in the eager bundle
Will serialize class com.vaadin.shared.ui.treetable.TreeTableState as a bean
Will serialize class com.vaadin.shared.MouseEventDetails as a bean
Will serialize class com.vaadin.shared.MouseEventDetails.MouseButton as an enum
Populating CalendarConnector bundle
Visiting CalendarConnector with ConnectorInitVisitor
CalendarConnector will be in the CalendarConnector bundle
Will serialize class com.vaadin.shared.ui.calendar.CalendarState as a bean
Will serialize class com.vaadin.shared.ui.calendar.CalendarState.Action as a bean
Will serialize class com.vaadin.shared.ui.calendar.CalendarState.Event as a bean
Will serialize class com.vaadin.shared.ui.calendar.CalendarState.Day as a bean
Populating RichTextAreaConnector bundle
Visiting RichTextAreaConnector with ConnectorInitVisitor
RichTextAreaConnector will be in the RichTextAreaConnector bundle
Populating ColorPickerGradientConnector bundle
Visiting ColorPickerGradientConnector with ConnectorInitVisitor
ColorPickerGradientConnector will be in the ColorPickerGradientConnector bundle
Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerGradientState as a bean
Populating ColorPickerAreaConnector bundle
Visiting ColorPickerAreaConnector with ConnectorInitVisitor
ColorPickerAreaConnector will be in the ColorPickerAreaConnector bundle
Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerState as a bean
Populating ColorPickerConnector bundle
Visiting ColorPickerConnector with ConnectorInitVisitor
ColorPickerConnector will be in the ColorPickerConnector bundle
Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerState as a bean
Populating ColorPickerGridConnector bundle
Visiting ColorPickerGridConnector with ConnectorInitVisitor
ColorPickerGridConnector will be in the ColorPickerGridConnector bundle
Will serialize class com.vaadin.shared.ui.colorpicker.ColorPickerGridState as a bean
Computing all possible rebind results for 'com.vaadin.client.ui.dd.VAcceptCriterionFactory'
Rebinding com.vaadin.client.ui.dd.VAcceptCriterionFactory
Invoking generator com.vaadin.server.widgetsetutils.AcceptCriteriaFactoryGenerator
Detecting available criteria ...
creating mapping for com.vaadin.ui.AbstractSelect.TargetItemIs
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.Or
creating mapping for com.vaadin.ui.Tree.TargetInSubtree
creating mapping for com.vaadin.event.dd.acceptcriteria.ServerSideCriterion
creating mapping for com.vaadin.event.dd.acceptcriteria.TargetDetailIs
creating mapping for com.vaadin.event.dd.acceptcriteria.Not
creating mapping for com.vaadin.event.dd.acceptcriteria.AcceptAll
creating mapping for com.vaadin.ui.AbstractSelect.AcceptItem
creating mapping for com.vaadin.ui.Table.TableDropCriterion
creating mapping for com.vaadin.event.dd.acceptcriteria.And
creating mapping for com.vaadin.event.dd.acceptcriteria.SourceIsTarget
creating mapping for com.vaadin.event.dd.acceptcriteria.ContainsDataFlavor
Done. (0seconds)
Compiling 6 permutations
Compiling permutation 2...
Process output
Compiling
Compiling permutation 0...
Process output
Compiling
Compiling permutation 1...
Process output
Compiling
Compiling permutation 3...
Compiling permutation 4...
Compiling
Compiling permutation 5...
Compile of permutations succeeded
Linking into C:\Users\Mustafa Mohammadi\workspace\AddressBook1\WebContent\VAADIN\widgetsets\com.example.addressbook1.Addressbook1Widgetset; Writing extras to C:\Users\MUSTAF~1\AppData\Local\Temp\widgetset_com.example.addressbook1.Addressbook1Widgetset9d0730c8-4434-4d77-b3bf-0580f18b2bea\com.example.addressbook1.Addressbook1Widgetset
Link succeeded
Compilation succeeded -- 590.898s
No gwt-unitCache directory is in my project hierarchy. I have no added the gwt.2.6 in this my new project.
Is my
.gwt.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd">
<module>
<inherits name="com.vaadin.DefaultWidgetSet" />
<!--
Uncomment the following to compile the widgetset for one browser only.
Multiple browsers can be specified as a comma separated list. The
supported user agents at the moment of writing were:
ie8,ie9,gecko1_8,safari,opera
The value gecko1_8 is used for Firefox and safari is used for webkit
based browsers including Google Chrome.
-->
<!-- <set-property name="user.agent" value="safari"/> -->
<!--
To enable SuperDevMode, uncomment this line.
See https://vaadin.com/wiki/-/wiki/Main/Using%20SuperDevMode for more
information and instructions.
-->
<!-- <set-configuration-property name="devModeRedirectEnabled" value="true" /> -->
<inherits name="org.vaadin.tinymceeditor.widgetset.TinymceeditorWidgetset" />
<inherits name="org.vaadin.hezamu.canvas.CanvasWidgetset" />
</module>
I’m a bit out of ideas here - based on a quick look, the widgetset, web.xml, directory hierarchy etc. look ok. The source path of the project is included on the widgetset compiler classpath as it should be. Nevertheless, MyComponent and MyComponentConnector aren’t even mentioned in the log output.
Perhaps the base class of MyComponentConnector or the @Connect annotation on it are not correct; otherwise, I don’t have ideas at the moment.
You could try to create a new project and a new widget in it, and see if it works there. Then start to add elements of your project (dependencies, other code, …) to it step by step to see where it breaks.