Re: migrate GWT 2.1.1 to 2.2 error
See http://groups.google.com/group/google-web-toolkit/msg/a5afd58dfa6f4763 http://groups.google.com/group/google-web-toolkit/msg/3b945fe28bbea3b8 To resolve the GWT Designer error, you can either install the latest GWT Designer from the beta channel as described in Eric's message above or manually copy the gwt-dev jar as I described. /dmc On Thu, Feb 24, 2011 at 7:41 PM, Jason Sheedy mobileja...@gmail.com wrote: It appears this is not really a workable solution. After adding a dependency to another GWT module in my pom I started getting the following error: java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference Apparently this is caused quote: when there are multiple versions of the JDT CompilerOptions class on the classpath, one of which comes from gwt-dev.jar: org/eclipse/jdt/internal/compiler/impl/ CompilerOptions.class I'm still looking for a solution to this problem if anyone has any other ideas. Cheers, Jason On Feb 21, 4:20 pm, Jason Sheedy mobileja...@gmail.com wrote: Hi Alex, Just to confirm ... I had the same problem and your suggested fix to add gwt-dev to the pom fixed it for me. Cheers, Jason On Feb 15, 6:34 pm, F. Lancer flance...@gmail.com wrote: Hi, Brice. Try to add 'gwt-dev-2.2.0.jar' to your project and rebuild. pom.xml: dependency groupIdcom.google.gwt/groupId artifactIdgwt-dev/artifactId version2.2.0/version typejar/type scopecompile/scope /dependency You will have [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts but you project will be built.Probably :) Regards, Alex. On Feb 15, 8:46 am, Brice Beaumesnil skalim...@gmail.com wrote: Hello, i just try GWT 2.2 on my project, i just change my POM file to use version 2.2 and when i try to compile i have this error : Loading inherited module 'com.google.gwt.user.User' [INFO]Loading inherited module 'com.google.gwt.user.RemoteService' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefS chema.java:778) [INFO] at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:22 1) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectivePa rser.java:274) ... Idid'nt have any problem with older version of GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- David Chandler Developer Programs Engineer, Google Web Toolkit w: http://code.google.com/ b: http://googlewebtoolkit.blogspot.com/ t: @googledevtools -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
It appears this is not really a workable solution. After adding a dependency to another GWT module in my pom I started getting the following error: java.lang.NoSuchFieldError: reportUnusedDeclaredThrownExceptionIncludeDocCommentReference Apparently this is caused quote: when there are multiple versions of the JDT CompilerOptions class on the classpath, one of which comes from gwt-dev.jar: org/eclipse/jdt/internal/compiler/impl/ CompilerOptions.class I'm still looking for a solution to this problem if anyone has any other ideas. Cheers, Jason On Feb 21, 4:20 pm, Jason Sheedy mobileja...@gmail.com wrote: Hi Alex, Just to confirm ... I had the same problem and your suggested fix to add gwt-dev to the pom fixed it for me. Cheers, Jason On Feb 15, 6:34 pm, F. Lancer flance...@gmail.com wrote: Hi, Brice. Try to add 'gwt-dev-2.2.0.jar' to your project and rebuild. pom.xml: dependency groupIdcom.google.gwt/groupId artifactIdgwt-dev/artifactId version2.2.0/version typejar/type scopecompile/scope /dependency You will have [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts but you project will be built.Probably :) Regards, Alex. On Feb 15, 8:46 am, Brice Beaumesnil skalim...@gmail.com wrote: Hello, i just try GWT 2.2 on my project, i just change my POM file to use version 2.2 and when i try to compile i have this error : Loading inherited module 'com.google.gwt.user.User' [INFO] Loading inherited module 'com.google.gwt.user.RemoteService' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefS chema.java:778) [INFO] at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:22 1) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectivePa rser.java:274) ... Idid'nt have any problem with older version of GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
Hi Alex, Just to confirm ... I had the same problem and your suggested fix to add gwt-dev to the pom fixed it for me. Cheers, Jason On Feb 15, 6:34 pm, F. Lancer flance...@gmail.com wrote: Hi, Brice. Try to add 'gwt-dev-2.2.0.jar' to your project and rebuild. pom.xml: dependency groupIdcom.google.gwt/groupId artifactIdgwt-dev/artifactId version2.2.0/version typejar/type scopecompile/scope /dependency You will have [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts but you project will be built.Probably :) Regards, Alex. On Feb 15, 8:46 am, Brice Beaumesnil skalim...@gmail.com wrote: Hello, i just try GWT 2.2 on my project, i just change my POM file to use version 2.2 and when i try to compile i have this error : Loading inherited module 'com.google.gwt.user.User' [INFO] Loading inherited module 'com.google.gwt.user.RemoteService' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefS chema.java:778) [INFO] at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:22 1) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectivePa rser.java:274) ... Idid'nt have any problem with older version of GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
I am running into the same problem. I wonder if it could be related to the fact that gwt-maven-plugin is version 2.1.0-1 and needs to be updated for 2.2.0? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
FYI, I tried 2.2-rc1, 2.2.0 and a 2.3-SNAPSHOT with gwt-maven-plugin 2.1.0-1 with no problem. Note that I only use the gwt:compile goal of the plugin, and never call it directly (always through mvn package or mvn install on my root module; the goal is attached to the prepare-package phase) -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
On Thursday, February 17, 2011 11:48:04 AM UTC+1, Philippe Beaudoin wrote: Also, the proposed workaround of adding a dependency on gwt-dev does not work for me. mvn install gives the following error: [INFO] [ERROR] Internal compiler error [INFO] java.lang.NoClassDefFoundError: com/google/inject/assistedinject/FactoryModuleBuilder [INFO] at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:74) Nothing to do with GWT, AFAICT: you're missing the guice-assistedinject dependency. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
You're right, thanks! I don't know why I now have a dependency on assistedinject, but adding it worked. Since I did not really like the workaround of adding a dependency on gwt-dev, I recompiled the gwt-maven-plugin to depend on gwt-2.2. I'm sure the gwt-maven-plugin guys will publish v 2.2.0 soon but, in the meantime, you can get it from gwt-platform maven repo: pluginRepositories pluginRepository idgwtplatform.plugin/id nameGwtplatform custom plugin epository/name urlhttp://maven.gwt-platform.googlecode.com/hg//url layoutdefault/layout /pluginRepository /pluginRepositories plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version2.2.0/version /plugin -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
Maybe I'm wrong but I added this dependency to my pom to avoid the compilation problem you were talking about... of course it did work as expected (using maven) *BUT* it caused a very strange behavior in Eclipse... at the beginning I didn't understand the cause (because I had many other problems related to the new gwt 2.2, so I spent some time around)... if I add the gwt-dev dependency, Eclipse claims that the GWT SDK is missing (but that's not true); and I wasn't able to fix it anyway... Magically when I removed the gwt-dev.jar from the classpath it started again to work... So, I removed that dependency from the pom.xml... (and now I've to understand why I don't have no more that compilation problem.. but this is another story!) Hope this can help someone! CA On Feb 15, 9:34 am, F. Lancer flance...@gmail.com wrote: Hi, Brice. Try to add 'gwt-dev-2.2.0.jar' to your project and rebuild. pom.xml: dependency groupIdcom.google.gwt/groupId artifactIdgwt-dev/artifactId version2.2.0/version typejar/type scopecompile/scope /dependency You will have [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts but you project will be built.Probably :) Regards, Alex. On Feb 15, 8:46 am, Brice Beaumesnil skalim...@gmail.com wrote: Hello, i just try GWT 2.2 on my project, i just change my POM file to use version 2.2 and when i try to compile i have this error : Loading inherited module 'com.google.gwt.user.User' [INFO] Loading inherited module 'com.google.gwt.user.RemoteService' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefS chema.java:778) [INFO] at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:22 1) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectivePa rser.java:274) ... Idid'nt have any problem with older version of GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
I'm still investigating... but: 1) if I remove the gwt-dev dependency, I can start the gwt app from Eclipse *BUT* if I try to compile using maven (ie mvn gwt:compile) I get java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt, 2) if I add the gwt-dev dependency, I can do mvn install and mvn gwt:run *BUT* I have the GWT SDK is missing error inside Eclipse (as described in my previous post)... ANY IDEA!?!? -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
write dependency of gwt-dev in gwt-maven section and not with all dependencies. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
yes it works if I run mvn gwt:compile from within the module (I have a multi-module maven project), but if I run mvn install from the parent root I still have that error. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
I Got the same problem. I generated a new app with the new webAppCreator and it gives the same error. On Tue, Feb 15, 2011 at 7:46 AM, Brice Beaumesnil skalim...@gmail.comwrote: Hello, i just try GWT 2.2 on my project, i just change my POM file to use version 2.2 and when i try to compile i have this error : Loading inherited module 'com.google.gwt.user.User' [INFO]Loading inherited module 'com.google.gwt.user.RemoteService' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:778) [INFO] at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274) ... Idid'nt have any problem with older version of GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
Hi, Brice. Try to add 'gwt-dev-2.2.0.jar' to your project and rebuild. pom.xml: dependency groupIdcom.google.gwt/groupId artifactIdgwt-dev/artifactId version2.2.0/version typejar/type scopecompile/scope /dependency You will have [WARNING] Don't declare gwt-dev as a project dependency. This may introduce complex dependency conflicts but you project will be built.Probably :) Regards, Alex. On Feb 15, 8:46 am, Brice Beaumesnil skalim...@gmail.com wrote: Hello, i just try GWT 2.2 on my project, i just change my POM file to use version 2.2 and when i try to compile i have this error : Loading inherited module 'com.google.gwt.user.User' [INFO] Loading inherited module 'com.google.gwt.user.RemoteService' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/GeneratorExt [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:616) [INFO] at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) [INFO] at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) [INFO] at java.net.URLClassLoader.access$000(URLClassLoader.java:58) [INFO] at java.net.URLClassLoader$1.run(URLClassLoader.java:197) [INFO] at java.security.AccessController.doPrivileged(Native Method) [INFO] at java.net.URLClassLoader.findClass(URLClassLoader.java:190) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:307) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:248) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:778) [INFO] at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274) ... Idid'nt have any problem with older version of GWT. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
OK, thanks i change scopetest/scope to scopecompile/scope for gwt-dev dependency and it's compile without error. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
Another way to get this is mixing GWT Designer releases Uninstall: GWT Plugin GWT Designer WindowBuilder Then install: GWT Plugin That will clear out pieces of GWT Designer 8.1.1 that are mixed into the GWT 2.2 plugin release. On Mon, Feb 14, 2011 at 7:38 AM, WindowBuilder Support wb-support-37...@google.com wrote: GWT Designer v8.1.1 does not support GWT 2.2. You need to uninstall v8.1.1 and use the version of GWT Designer that was provided with GWT/GPE 2.2. -Original Message- From: jonsm...@gmail.com Date: Mon, 14 Feb 2011 03:38:18 + To: wb-support-37...@google.com wb-support-37...@google.com Subject: GWT design broken on GWT 2.2 SDK Submitted by: jonsm...@gmail.com Jon Smirl The generater attribute is in the international gwt.xml line on line 75. I can't use designer on any Views. Backing off to 2.1 SDK fixes. I just updated to the latest GWT design via Eclipse. -- Jon Smirl jonsm...@gmail.com -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Re: migrate GWT 2.1.1 to 2.2 error
I install new Eclipse 3.6 with new GWT 2.2 import my CVS project... and when i try to open an Composite class of my projet in the new GWT Designer 2.2 i have this error : Stack trace: java.lang.NullPointerException at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.getSharedClassLoader(HostedModeSupport.java:184) at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.createClassLoaders(HostedModeSupport.java:92) at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupport.init(HostedModeSupport.java:62) at com.google.gdt.eclipse.designer.hosted.tdt.HostedModeSupportFactory.create(HostedModeSupportFactory.java:22) at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.getHostedModeSupport(GwtState.java:1195) at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize0(GwtState.java:243) at com.google.gdt.eclipse.designer.model.widgets.support.GwtState.initialize(GwtState.java:219) at com.google.gdt.eclipse.designer.parser.ParseFactory.getClassLoader(ParseFactory.java:390) at org.eclipse.wb.internal.core.parser.AbstractParseFactory.initializeClassLoader(AbstractParseFactory.java:732) at com.google.gdt.eclipse.designer.parser.ParseFactory.getRootContext(ParseFactory.java:92) at org.eclipse.wb.internal.core.parser.JavaInfoParser.prepareParseContext(JavaInfoParser.java:1180) at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:244) at org.eclipse.wb.internal.core.parser.JavaInfoParser.access$9(JavaInfoParser.java:240) at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:153) at org.eclipse.wb.internal.core.parser.JavaInfoParser$1.runObject(JavaInfoParser.java:1) at org.eclipse.wb.internal.core.utils.execution.ExecutionUtils.runDesignTime(ExecutionUtils.java:153) at org.eclipse.wb.internal.core.parser.JavaInfoParser.parse(JavaInfoParser.java:151) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:463) at org.eclipse.wb.internal.core.editor.DesignPage.access$9(DesignPage.java:455) at org.eclipse.wb.internal.core.editor.DesignPage$7$1.run(DesignPage.java:388) at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179) at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150) at org.eclipse.swt.widgets.Display.syncExec(Display.java:4584) at org.eclipse.wb.internal.core.editor.DesignPage$7.run(DesignPage.java:385) at org.eclipse.jface.operation.ModalContext.runInCurrentThread(ModalContext.java:464) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:372) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:507) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF_withProgress(DesignPage.java:404) at org.eclipse.wb.internal.core.editor.DesignPage.internal_refreshGEF(DesignPage.java:354) at org.eclipse.wb.internal.core.editor.UndoManager.refreshDesignerEditor(UndoManager.java:381) at org.eclipse.wb.internal.core.editor.DesignPage.refreshGEF(DesignPage.java:331) at org.eclipse.wb.internal.core.editor.actions.RefreshAction.run(RefreshAction.java:46) at org.eclipse.wb.internal.core.editor.actions.DesignPageAction.run(DesignPageAction.java:34) at org.eclipse.wb.internal.core.editor.errors.JavaExceptionComposite.doRefresh(JavaExceptionComposite.java:89) at org.eclipse.wb.internal.core.editor.errors.ExceptionComposite$2.widgetSelected(ExceptionComposite.java:109) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at
Re: migrate GWT 2.1.1 to 2.2 error
Same here. The error happens in all Uibinder templates even if you create a new one. But when you set up a new GWT project, and create a new UiBinder template, it works. I thought that there was some problem in GWT projects with 2.1 version migrating to 2.2, but the thing is that it gives the same error in the Expenses app that comes with the SDK 2.2.0. If find a solution, report please. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.