Re: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
The JARs you download from code.google.com will be different from the one download from Maven Central; this is expected. If you want to compare, download from http://search.maven.org/#artifactdetails%7Ccom.google.gwt%7Cgwt-user%7C2.4.0%7Cjar -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wf2wsn8Y35MJ. 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: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
I generate a default application using gwt-maven-plugin archetype and get same error. Here is my pom file. ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http:// www.w3.org/2001/XMLSchema-instance xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd; !-- POM file generated with GWT webAppCreator -- modelVersion4.0.0/modelVersion groupIdcom.architect/groupId artifactIdschoolit/artifactId packagingwar/packaging version1.0/version nameGWT Maven Archetype/name properties !-- Convenience property to set the GWT version -- gwtVersion2.4.0/gwtVersion !-- GWT needs at least java 1.5 -- webappDirectory${project.build.directory}/$ {project.build.finalName}/webappDirectory project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies dependency groupIdcom.google.gwt/groupId artifactIdgwt-servlet/artifactId version${gwtVersion}/version scoperuntime/scope /dependency dependency groupIdcom.google.gwt/groupId artifactIdgwt-user/artifactId version${gwtVersion}/version scopeprovided/scope /dependency dependency groupIdjunit/groupId artifactIdjunit/artifactId version4.7/version scopetest/scope /dependency dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId version1.0.0.GA/version scopetest/scope /dependency dependency groupIdjavax.validation/groupId artifactIdvalidation-api/artifactId version1.0.0.GA/version classifiersources/classifier scopetest/scope /dependency /dependencies build !-- Generate compiled stuff in the folder used for developing mode -- outputDirectory${webappDirectory}/WEB-INF/classes/ outputDirectory plugins !-- GWT Maven Plugin -- plugin groupIdorg.codehaus.mojo/groupId artifactIdgwt-maven-plugin/artifactId version2.4.0/version dependencies dependency groupIdcom.google.gwt/groupId artifactIdgwt-user/artifactId version2.4.0/version /dependency dependency groupIdcom.google.gwt/groupId artifactIdgwt-dev/artifactId version2.4.0/version /dependency /dependencies executions execution goals goalcompile/goal goaltest/goal /goals /execution /executions !-- Plugin configuration. There are many available options, see gwt-maven-plugin documentation at codehaus.org -- configuration runTargetschoolit.html/runTarget hostedWebapp${webappDirectory}/hostedWebapp i18nMessagesBundlecom.architect.schoolit.client.Messages/ i18nMessagesBundle gwtSdkFirstInClasspathtrue/gwtSdkFirstInClasspath /configuration /plugin !-- Copy static web files before executing gwt:run -- plugin groupIdorg.apache.maven.plugins/groupId artifactIdmaven-war-plugin/artifactId
Re: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
I compare file gwt-user-2.4.0.jar download in GWT site and other download and put in my repository. There are different! It is a problem with my repository manager? How can i resolve this problem? Thanks for your help. -- 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: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
It sure is a weird error ( java.lang.NoClassDefFoundError: com/google/gwt/core/ext/linker/PropertyProviderGenerator ) That class is located in gwt-dev.jar and from the look of your maven output, that jar is on the GWT compilation classpath so there's no reason you should get a NoClassDefFoundError I see 2 probable causes: * You're on windows and the location of your local maven repository contains spaces, it could be a bug in the maven-gwt-plugin dealing with spaces on file paths on windows (did you by any chance change your username on windows or something like that ?) * Maybe your local maven repository got corrupted, try deleting at least the gwt-dev-2.4.0.jar. Maven will redownload it anyway so if it's corrupt the error will go away Hope that helps -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/0WCg-Edb-q8J. 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: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
Hi Salvador Diaz, Thanks for reply. I'am using windows 7, Eclipse Indigo and apache maven 3.0.3. I deleted gwt-dev-2.4.0.jar and gwt-maven-plugin-2.3.0.jar. Maven redownload its, but i got same problem. Concerning location of my local maven repository, it contains spaces, but it worked since this problem start. How can I modfified path to my local repository? Could anybody have another ideas concerning my problem? -- 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: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
Hi, I change path of my maven local repository to have path without space, but problems remains. I'am desperate!! Please help me. Thanks. -- 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: Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
On Monday, November 28, 2011 7:05:16 PM UTC+1, bognekadje wrote: Hi Salvador Diaz, Thanks for reply. I'am using windows 7, Eclipse Indigo and apache maven 3.0.3. I deleted gwt-dev-2.4.0.jar and gwt-maven-plugin-2.3.0.jar. Have you overridden the plugin dependencies to avoid mixing GWT versions? (gwt-maven-plugin 2.3.0 has a dependency on GWT 2.3.0) See http://mojo.codehaus.org/gwt-maven-plugin/user-guide/using-different-gwt-sdk-version.html I'd recommend either (or both) using this recipe or updating to gwt-maven-plugin 2.4.0. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/DRYJD3SC_1IJ. 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.
Loading inherited module 'com.google.gwt.i18n.I18N' and Unexpected error while processing XML
Hi, Since yesterday, i have problem to compile my maven project. I use maven with archetype codehaus.mojo:gwt-maven-plugin. Compilation return following error message I don't understand, why this problem start since yesterday and don't see his causes. Please help me. [INFO] [INFO] --- gwt-maven-plugin:2.4.0:compile (default) @ schoolit --- [INFO] auto discovered modules [com.architect.schoolit.schoolit] [INFO] Loading inherited module 'com.google.gwt.xml.XML' [INFO]Loading inherited module 'com.google.gwt.user.User' [INFO] Loading inherited module 'com.google.gwt.i18n.I18N' [INFO] [ERROR] Unexpected error while processing XML [INFO] java.lang.NoClassDefFoundError: com/google/gwt/core/ext/linker/ PropertyProviderGenerator [INFO] at java.lang.ClassLoader.defineClass1(Native Method) [INFO] at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) [INFO] at java.lang.ClassLoader.defineClass(ClassLoader.java:615) [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 sun.misc.Launcher$ExtClassLoader.findClass(Launcher.java: 229) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:306) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:295) [INFO] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java: 301) [INFO] at java.lang.ClassLoader.loadClass(ClassLoader.java:247) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema $ClassAttrCvt.convertToArg(ModuleDefSchema.java:886) [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:294) [INFO] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java: 501) [INFO] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java: 179) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java: 1343) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java: 648) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java: 511) [INFO] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java: 808) [INFO] at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java: 737) [INFO] at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java: 119) [INFO] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java: 1205) [INFO] at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl $JAXPSAXParser.parse(SAXParserImpl.java:522) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser $Impl.parse(ReflectiveParser.java:347) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access $200(ReflectiveParser.java:68) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java: 418) [INFO] at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java: 296) [INFO] at com.google.gwt.dev.cfg.ModuleDefSchema $BodySchema.__inherits_begin(ModuleDefSchema.java:495) [INFO] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) [INFO] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java: 25) [INFO] at java.lang.reflect.Method.invoke(Method.java:597) [INFO] at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java: 230) [INFO] at com.google.gwt.dev.util.xml.ReflectiveParser $Impl.startElement(ReflectiveParser.java:294) [INFO] at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java: 501) [INFO] at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java: 179) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java: 1343) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl $FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2756) [INFO] at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java: 648) [INFO