[ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' : GWT 2.9
Hi, I am unable to build a multimodule demo project using GWT 2.9 using @Tbroyer gwt maven plugin. The reason I am still on this GWT version is because I am still using the Errai Framework that still depends on this particular version of GWT. I included the module that seems to be missing correctly and I still don't understand why it is missing. here is the error I am receiving when I run : *mvn clean install* *[INFO] --- gwt:1.1.0:compile (default-compile) @ sample-client ---* [INFO] Loading inherited module 'net.example.sample.App' [INFO]Loading inherited module 'org.jboss.errai.enterprise.All' [INFO] Loading inherited module 'org.jboss.errai.ioc.Container' [INFO] Loading inherited module 'com.google.common.collect.Collect' [INFO]* [ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?* [INFO] [INFO] Reactor Summary for Sample GWT UI 2.0-SNAPSHOT: [INFO] [INFO] Sample GWT UI .. FAILURE [ 7.079 s] [INFO] Sample-webapp .. SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 8.356 s [INFO] Finished at: 2024-03-30T12:28:45-03:00 [INFO] here is parts of my main pom.xml net.example.sample sample-client ${project.version} war com.google.gwt gwt ${gwt.version} pom import *org.jboss.errai.bom errai-bom ${errai.version}pom import * and parts of my module pom.xml sample-client gwt-app Sample GWT UI com.google.gwt gwt-dev org.eclipse.jetty apache-jsp com.google.gwt gwt-user * org.jboss.errai errai-javaee-all * org.jboss.errai errai-cdi-jboss runtime net.ltgt.gwt.maven gwt-maven-plugin ${project.basedir}/path/to/module/module.gwt.xml net.example.sample.App sample and this is the module inclusion in module.gwt.xml * * What am I missing? Please Advise. -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/13d8ea82-c155-471d-9373-8996baced686n%40googlegroups.com.
Re: Problem with GWT?
There really isn't enough information here to guess what is happen - what else could have changed, like server version or configuration, any errors in your browser dev tools console? On Tuesday, March 26, 2024 at 2:57:37 PM UTC-5 germ...@gmail.com wrote: > When I access the web page, it remains blank. I tried different browsers, > even on different computers, and they all showed the same problem. I am > using the gwt-2.8.2 SDK Until a few days ago, was it working correctly? > The curious thing is that the website works locally, that is, it is > normally displayed in the browser, but when the project is uploaded it is > not displayed. > Please I need help on what can happen. Thank you so much > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/93114622-43f1-478c-96a2-15208b8c91f6n%40googlegroups.com.
Re: [ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' : GWT 2.9
This looks like the same question as https://stackoverflow.com/questions/78202341/how-to-set-up-gwt-super-dev-mode-with-the-new-gwt-maven-plugin-with-a-web-applic, except with some updates - it sounds like you resolved the servlet classpath issue, can you flesh out this example a little more to show what else has happened, if that is also your question? It looks like guava-gwt is somehow not on your classpath, can you verify this? Also, the moduleTemplate configuration looks wrong, like you've left an example placeholder in the configuration? On Saturday, March 30, 2024 at 1:14:40 PM UTC-5 dja...@gmail.com wrote: > Hi, > I am unable to build a multimodule demo project using GWT 2.9 using > @Tbroyer gwt maven plugin. The reason I am still on this GWT version is > because I am still using the Errai Framework that still depends on this > particular version of GWT. I included the module that seems to be missing > correctly and I still don't understand why it is missing. > > here is the error I am receiving when I run : > *mvn clean install* > > *[INFO] --- gwt:1.1.0:compile (default-compile) @ sample-client ---* > [INFO] Loading inherited module 'net.example.sample.App' > [INFO]Loading inherited module 'org.jboss.errai.enterprise.All' > [INFO] Loading inherited module 'org.jboss.errai.ioc.Container' > [INFO] Loading inherited module > 'com.google.common.collect.Collect' > [INFO]* [ERROR] Unable to find > 'com/google/common/collect/Collect.gwt.xml' on your classpath; could be a > typo, or maybe you forgot to include a classpath entry for source?* > [INFO] > > [INFO] Reactor Summary for Sample GWT UI 2.0-SNAPSHOT: > [INFO] > [INFO] Sample GWT UI .. FAILURE [ > 7.079 s] > [INFO] Sample-webapp .. SKIPPED > [INFO] > > [INFO] BUILD FAILURE > [INFO] > > [INFO] Total time: 8.356 s > [INFO] Finished at: 2024-03-30T12:28:45-03:00 > [INFO] > > > here is parts of my main pom.xml > > > > > > net.example.sample > sample-client > ${project.version} > war > > > > com.google.gwt > gwt > ${gwt.version} > pom > import > > > > > > > > *org.jboss.errai.bom > errai-bom > ${errai.version}pom > import * > > > > and parts of my module pom.xml > > sample-client > gwt-app > > Sample GWT UI > > > > com.google.gwt > gwt-dev > > > org.eclipse.jetty > apache-jsp > > > > > > > com.google.gwt > gwt-user > > > > > > * org.jboss.errai > errai-javaee-all * > > > org.jboss.errai > errai-cdi-jboss > runtime > > > > > > net.ltgt.gwt.maven > gwt-maven-plugin > > > ${project.basedir}/path/to/module/module.gwt.xml > net.example.sample.App > sample > > > > > > and this is the module inclusion in module.gwt.xml > > * * > > What am I missing? > Please Advise. > -- You received this message because you are subscribed to the Google Groups "GWT Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/f7a5aa4c-7666-4c52-aa80-9bd9ccbb1e63n%40googlegroups.com.
Re: [ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' : GWT 2.9
Hi Colin, Thanks for your reply. Yes, that question is related. I just updated it on stack overflow. I added the the javax servlet dependency and that part was solved. And now I am facing another issue with the *com/google/common/collect/Collect.gwt.xml *module. Now you mentioned guava, I realized that I had it as a dependency, however I didn't added to my gwt module xml file. I just added it and I still have a bunch of errors in the guava-gwt classes now. I tried different version of guava as well (the latest one and the 23.0 version). Tracing compile failure path for type 'com.google.common.collect.StandardTable' [INFO] [ERROR] Errors in 'jar:file:/C:/Users/MyUserName/.m2/repository/com/google/guava/guava-gwt/30.1-jre/guava-gwt-30.1-jre.jar!/com/google/common/collect/StandardTable.java' [INFO] [ERROR] Line 203: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 566: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 763: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 167: CanIgnoreReturnValue cannot be resolved to a type [INFO] [ERROR] Line 477: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 873: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 150: CanIgnoreReturnValue cannot be resolved to a type [INFO] [ERROR] Line 593: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 637: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 453: CanIgnoreReturnValue cannot be resolved to a type [INFO] [ERROR] Line 537: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 787: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 838: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 141: CanIgnoreReturnValue cannot be resolved to a type [INFO] [ERROR] Line 34: The import com.google.errorprone.annotations.CanIgnoreReturnValue cannot be resolved [INFO] [ERROR] Line 943: WeakOuter cannot be resolved to a type [INFO] [ERROR] Line 35: The import com.google.j2objc cannot be resolved [ERROR] Aborting compile due to errors in some input files You said : *" Also, the moduleTemplate configuration looks wrong, like you've left an example placeholder in the configuration?", * No, I don't think so, I moved the module.gwt.xml where the client/local folder because the old project I want to migrate uses the old version of mojo gwt-maven plugin and that's where the module is. Could that also be part of my issue? I specified the path like that because the with Tbroyer version, the gwt xml module file is not in the same place. Mnamo Jumamosi, 30 Machi 2024 saa 15:19:33 UTC-3 Colin Alworth aliandika: > This looks like the same question as > https://stackoverflow.com/questions/78202341/how-to-set-up-gwt-super-dev-mode-with-the-new-gwt-maven-plugin-with-a-web-applic, > > except with some updates - it sounds like you resolved the servlet > classpath issue, can you flesh out this example a little more to show what > else has happened, if that is also your question? > > It looks like guava-gwt is somehow not on your classpath, can you verify > this? > > Also, the moduleTemplate configuration looks wrong, like you've left an > example placeholder in the configuration? > > On Saturday, March 30, 2024 at 1:14:40 PM UTC-5 dja...@gmail.com wrote: > >> Hi, >> I am unable to build a multimodule demo project using GWT 2.9 using >> @Tbroyer gwt maven plugin. The reason I am still on this GWT version is >> because I am still using the Errai Framework that still depends on this >> particular version of GWT. I included the module that seems to be missing >> correctly and I still don't understand why it is missing. >> >> here is the error I am receiving when I run : >> *mvn clean install* >> >> *[INFO] --- gwt:1.1.0:compile (default-compile) @ sample-client ---* >> [INFO] Loading inherited module 'net.example.sample.App' >> [INFO]Loading inherited module 'org.jboss.errai.enterprise.All' >> [INFO] Loading inherited module 'org.jboss.errai.ioc.Container' >> [INFO] Loading inherited module >> 'com.google.common.collect.Collect' >> [INFO]* [ERROR] Unable to find >> 'com/google/common/collect/Collect.gwt.xml' on your classpath; could be a >> typo, or maybe you forgot to include a classpath entry for source?* >> [INFO] >> >> [INFO] Reactor Summary for Sample GWT UI 2.0-SNAPSHOT: >> [INFO] >> [INFO] Sample GWT UI .. FAILURE [ >> 7.079 s] >> [INFO] Sample-webapp .. SKIPPED >> [INFO] >> >> [INFO] BUILD FAILURE >> [INFO] >> >> [INFO] Total time: 8.356 s >>
Re: [ERROR] Unable to find 'com/google/common/collect/Collect.gwt.xml' : GWT 2.9
It appears that the error log you shared all boil down to missing j2objc and errorprone annotations from your classpath. My concern with your moduleTemplate was simply that you left the value as "${project.basedir}/path/to/module/module.gwt.xml" - do you literally have a directory called path/to/module/ in your project's base directory? I dont think this is causing the problem though, nor is changing from one maven plugin to another, but without a complete picture of your dependencies, it is very hard to guess. On Saturday, March 30, 2024 at 5:01:46 PM UTC-5 dja...@gmail.com wrote: > Hi Colin, > > Thanks for your reply. Yes, that question is related. I just updated it on > stack overflow. I added the the javax servlet dependency and that part was > solved. And now I am facing another issue with the > *com/google/common/collect/Collect.gwt.xml > *module. Now you mentioned guava, I realized that I had it as a > dependency, however I didn't added to my gwt module xml file. I just added > it and I still have a bunch of errors in the guava-gwt classes now. I > tried different version of guava as well (the latest one and the 23.0 > version). > > Tracing compile failure path for type > 'com.google.common.collect.StandardTable' > [INFO] [ERROR] Errors in > 'jar:file:/C:/Users/MyUserName/.m2/repository/com/google/guava/guava-gwt/30.1-jre/guava-gwt-30.1-jre.jar!/com/google/common/collect/StandardTable.java' > [INFO] [ERROR] Line 203: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 566: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 763: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 167: CanIgnoreReturnValue cannot be resolved > to a type > [INFO] [ERROR] Line 477: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 873: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 150: CanIgnoreReturnValue cannot be resolved > to a type > [INFO] [ERROR] Line 593: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 637: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 453: CanIgnoreReturnValue cannot be resolved > to a type > [INFO] [ERROR] Line 537: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 787: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 838: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 141: CanIgnoreReturnValue cannot be resolved > to a type > [INFO] [ERROR] Line 34: The import > com.google.errorprone.annotations.CanIgnoreReturnValue cannot be resolved > [INFO] [ERROR] Line 943: WeakOuter cannot be resolved to a type > [INFO] [ERROR] Line 35: The import com.google.j2objc cannot be > resolved > > [ERROR] Aborting compile due to errors in some input files > > You said : *" Also, the moduleTemplate configuration looks wrong, like > you've left an example placeholder in the configuration?", * > No, I don't think so, I moved the module.gwt.xml where the client/local > folder because the old project I want to migrate uses the old version of > mojo gwt-maven plugin and that's where the module is. Could that also be > part of my issue? I specified the path like that because the with Tbroyer > version, the gwt xml module file is not in the same place. > > > Mnamo Jumamosi, 30 Machi 2024 saa 15:19:33 UTC-3 Colin Alworth aliandika: > >> This looks like the same question as >> https://stackoverflow.com/questions/78202341/how-to-set-up-gwt-super-dev-mode-with-the-new-gwt-maven-plugin-with-a-web-applic, >> >> except with some updates - it sounds like you resolved the servlet >> classpath issue, can you flesh out this example a little more to show what >> else has happened, if that is also your question? >> >> It looks like guava-gwt is somehow not on your classpath, can you verify >> this? >> >> Also, the moduleTemplate configuration looks wrong, like you've left an >> example placeholder in the configuration? >> >> On Saturday, March 30, 2024 at 1:14:40 PM UTC-5 dja...@gmail.com wrote: >> >>> Hi, >>> I am unable to build a multimodule demo project using GWT 2.9 using >>> @Tbroyer gwt maven plugin. The reason I am still on this GWT version is >>> because I am still using the Errai Framework that still depends on this >>> particular version of GWT. I included the module that seems to be missing >>> correctly and I still don't understand why it is missing. >>> >>> here is the error I am receiving when I run : >>> *mvn clean install* >>> >>> *[INFO] --- gwt:1.1.0:compile (default-compile) @ sample-client ---* >>> [INFO] Loading inherited module 'net.example.sample.App' >>> [INFO]Loading inherited module 'org.jboss.errai.enterprise.All' >>> [INFO] Loading inherited module 'org.jboss.errai.ioc.Container' >>> [INFO] Loading inherited module >>> 'com.google.common.collect.Collect' >>> [INFO]