Hi, Brice.
Try to add 'gwt-dev-2.2.0.jar' to your project and rebuild.
pom.xml:
<dependency>
<groupId>com.google.gwt</groupId>
<artifactId>gwt-dev</artifactId>
<version>2.2.0</version>
<type>jar</type>
<scope>compile</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 <[email protected]> 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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.