Re: Help to undrerstand how to use domino-jackson and the annotation JSONMapper
Aren't you supposed to directly use the generated class rather than using GWT.create() ? (unless you also added a in your gwt.xml) https://dominokit.com/solutions/domino-jackson/v1/docs/getting-started/quick-start On Friday, April 12, 2024 at 1:20:27 PM UTC+2 tenti...@gmail.com wrote: > I'm upgrading a old project and i want to replace the old gwt-jackson ( > https://dominokit.com/solutions/domino-jackson/v1) with the > domino-jackson project (https://github.com/DominoKit/domino-jackson). > > It should be a simple transiction, but i cannot understand how to let the > GWT compilation "see" the implementations classes of the ObjectMapper > interface. > > *Here the "old" code from gwt-jackson* > > *public static interface AltriMetadatiDTOMapper extends > com.github.nmorel.gwtjackson.client.ObjectMapper>> > > {} * > > * ... * > > * AltriMetadatiDTOMapper altriMetadatiDTOMapper = > GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = > altriMetadatiDTOMapper.write(object); * > > *Here the "new" code from domino-jackson* > *@org.dominokit.jackson.annotation.JSONMapper public interface > AltriMetadatiDTOMapper extends > org.dominokit.jackson.ObjectMapper>> {}* > > * ... * > > * AltriMetadatiDTOMapper altriMetadatiDTOMapper = > GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = > altriMetadatiDTOMapper.write(object); * > > but it give to me this error > [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result > 'xxx.AltriMetadatiDTOMapper' must be a class > > Did anyone know what i'm doing wrong ? > -- 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/2deba265-8fee-4643-8677-9236c83ae253n%40googlegroups.com.
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
Thomas, Marco showed me a project that made me see one thing I hadn't thought about, which was configured the same in the archetype project. It's regarding the sources. In my project, I only have one jar that contain both classes and source files for those jar files that are needed, i.e. no sources-jar anywhere. This was a long time ago, but I think it was because we also needed to include things like .properties-files for i18n which are in submodules as well, so we use the tags to define them. In any case - this apparently works fine for the compile, but could this be a reason for CodeServer not finding the class files? On the other hand, it doesn't find Lombok either which worked before, and I don't have any lombok sources.jar in my repo. Perhaps it doesn't need the Lombok sources since it's just annotations? On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote: > On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote: > > -My dependencies should be ok since i can build it with the plugin, so i'm > a bit at a loss as to how make this work. > > > Dependencies for gwt:compile and gwt:codeserver aren't the same: > https://tbroyer.github.io/gwt-maven-plugin/codeserver.html > You might have to either adjust the of dependencies (e.g. from > provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. > from runtime to compile+runtime or compile) > > > as a final aside: > The "neither a gwt-lib or jar" warning messages in the error log below - i > still get it if i add the gwt-lib type to the dependency, and the archetype > project prints the same error when created. > > > Note that it's an info, not a warning 😉 > -- 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/a1d39578-5eff-4ede-9e2f-12d73422c98en%40googlegroups.com.
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
Thanks! That's a great resource and got me to see one thing I'd missed. On Friday 12 April 2024 at 15:11:45 UTC+2 Marco Tenti (IoProgrammo88) wrote: > This project has many good examples to check out > https://github.com/NaluKit/nalu-examples, it help me a lot. > > Il giorno venerdì 12 aprile 2024 alle 14:39:16 UTC+2 Mathias ha scritto: > >> Hey Jens, thanks for replying! >> >> re. the gwt-type: >> >> 1. I only have one maven module that contains the entry point. the "gwt >> client" module >> 2. All dependencies are either on third-party such as Lombok, or my own >> other modules that only contain java classes and are built as jar-files. >> 3. I added the "type" gwt-lib to the dependencies in the "gwt client" >> pom, but I didn't do anything to the pom files in the jar modules that the >> gwt client depend on. I mean, Lombok doesn't have a packaging >> gwt-lib in its pom, either. >> >> On Friday 12 April 2024 at 11:15:38 UTC+2 Jens wrote: >> >>> A full example for multiple maven modules (more than just three) can be >>> found here: >>> https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e >>> >>> You have to add gwt-lib to your own maven library >>> modules that contain a module.gwt.xml file. Maybe you forgot that? >>> >>> -- J. >>> >>> Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2: >>> I *really* could use some help getting my project up for development after moving to gwt 2.10 and Java 11. I can unfortunately nolonger use the GWT intellij plugin i've loved and used for 12 years apparently, and i'm struggling a bit to get the codeserver running for my project. *CURRENT STATUS:* My project is over 12 years, but i migrated it from the old gwt mojo plugin to the new tbroyer one last year. It builds into a war fine and deploys on tomcat. Prior to the migration to GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT Intellij plugin, which I've loved and used for those same 12 years. But now the plugin unfortunately doesn't work, and from what I can tell due to the JettyLauncher, (I get lots of classnotfounds for for example javax.sql.DataSource) it's kind of impossible to make it run? So I thought I'd try what people have been saying, move to the manual thing with server and code server, even though it's a more cumbersome setup. As part of trying to get this show on the road, i created an archetype project and got codeserver and server running according to the new v2 tutorial. This works fine. *PROBLEM:* Basically i can't get the codeserver to run. My project is pretty large so my "webclient" module that contains my gwt client has a bunch of dependencies on my own child modules, and a couple of third-party ones such as Lombok. When i try the codeserver with this command (from the tutorial) * mvn gwt:codeserver -pl webclient -am* ,where the webclient is the module containing the gwt code and entry point, standing in the root dir of my project, ,i get page up and page down filled with missing dependencies from stuff and "did you forget to inherit"-errors. (see error extract at the bottom) -I'm not sure if this has something to do with the "workdir", the directory i stand in when i try to start the codeserver as described above, some dependency declaration i'm missing or something else. -My dependencies should be ok since i can build it with the plugin, so i'm a bit at a loss as to how make this work. -Help would be much appreciated, right now i can't develop and rolling our project back to 2.8 and Java 8 wouldn't be great and take time. Man how I wish that the intellij plugin had just kept working. as a final aside: The "neither a gwt-lib or jar" warning messages in the error log below - i still get it if i add the gwt-lib type to the dependency, and the archetype project prints the same error when created. *Extract from the error log:* [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a gwt-lib or jar:sources; Did you forget to use gwt-lib in the dependency declaration? [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a gwt-lib or jar:sources; Did you forget to use gwt-lib in the dependency declaration? [INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a gwt-lib or jar:sources; Did you forget to use gwt-lib in the dependency declaration? [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a gwt-lib or jar:sources; Did you forget to use gwt-lib in the dependency declaration? [INFO] Turning off precompile in incremental mode. [INFO] Super Dev Mode starting up [INFO]workDir: /
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
This project has many good examples to check out https://github.com/NaluKit/nalu-examples, it help me a lot. Il giorno venerdì 12 aprile 2024 alle 14:39:16 UTC+2 Mathias ha scritto: > Hey Jens, thanks for replying! > > re. the gwt-type: > > 1. I only have one maven module that contains the entry point. the "gwt > client" module > 2. All dependencies are either on third-party such as Lombok, or my own > other modules that only contain java classes and are built as jar-files. > 3. I added the "type" gwt-lib to the dependencies in the "gwt client" pom, > but I didn't do anything to the pom files in the jar modules that the gwt > client depend on. I mean, Lombok doesn't have a packaging > gwt-lib in its pom, either. > > On Friday 12 April 2024 at 11:15:38 UTC+2 Jens wrote: > >> A full example for multiple maven modules (more than just three) can be >> found here: >> https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e >> >> You have to add gwt-lib to your own maven library >> modules that contain a module.gwt.xml file. Maybe you forgot that? >> >> -- J. >> >> Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2: >> >>> I *really* could use some help getting my project up for development >>> after moving to gwt 2.10 and Java 11. >>> I can unfortunately nolonger use the GWT intellij plugin i've loved and >>> used for 12 years apparently, and i'm struggling a bit to get the >>> codeserver running for my project. >>> >>> *CURRENT STATUS:* >>> My project is over 12 years, but i migrated it from the old gwt mojo >>> plugin to the new tbroyer one last year. >>> It builds into a war fine and deploys on tomcat. Prior to the migration >>> to GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT >>> Intellij plugin, which I've loved and used for those same 12 years. >>> But now the plugin unfortunately doesn't work, and from what I can tell >>> due to the JettyLauncher, (I get lots of classnotfounds for for example >>> javax.sql.DataSource) it's kind of impossible to make it run? So I thought >>> I'd try what people have been saying, move to the manual thing with server >>> and code server, even though it's a more cumbersome setup. >>> >>> As part of trying to get this show on the road, i created an archetype >>> project and got codeserver and server running according to the new v2 >>> tutorial. This works fine. >>> >>> *PROBLEM:* >>> Basically i can't get the codeserver to run. My project is pretty large >>> so my "webclient" module that contains my gwt client has a bunch of >>> dependencies on my own child modules, and a couple of third-party ones such >>> as Lombok. >>> >>> >>> When i try the codeserver with this command (from the tutorial) >>> * mvn gwt:codeserver -pl webclient -am* >>> >>> ,where the webclient is the module containing the gwt code and entry >>> point, standing in the root dir of my project, >>> ,i get page up and page down filled with missing dependencies from stuff >>> and "did you forget to inherit"-errors. (see error extract at the bottom) >>> >>> -I'm not sure if this has something to do with the "workdir", the >>> directory i stand in when i try to start the codeserver as described above, >>> some dependency declaration i'm missing or something else. >>> >>> -My dependencies should be ok since i can build it with the plugin, so >>> i'm a bit at a loss as to how make this work. >>> >>> -Help would be much appreciated, right now i can't develop and rolling >>> our project back to 2.8 and Java 8 wouldn't be great and take time. Man how >>> I wish that the intellij plugin had just kept working. >>> >>> as a final aside: >>> The "neither a gwt-lib or jar" warning messages in the error log below - >>> i still get it if i add the gwt-lib type to the dependency, and the >>> archetype project prints the same error when created. >>> >>> *Extract from the error log:* >>> >>> [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a >>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >>> dependency declaration? >>> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a >>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >>> dependency declaration? >>> [INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a >>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >>> dependency declaration? >>> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a >>> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >>> dependency declaration? >>> [INFO] Turning off precompile in incremental mode. >>> [INFO] Super Dev Mode starting up >>> [INFO]workDir: >>> /Users/mathias/.projects/myproject/target/gwt/codeserver >>> [INFO][WARN] Deactivated PrecompressLinker >>> [INFO] 19:00:51.710 [main] INFO org.eclipse.jetty.util.log - Logging >>> initialized @778ms to org.eclipse.jetty.util.log.Slf4jLog >>> [INFO] 19:00:51.714 [main] DEBUG >>> org.ecl
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
Hey Jens, thanks for replying! re. the gwt-type: 1. I only have one maven module that contains the entry point. the "gwt client" module 2. All dependencies are either on third-party such as Lombok, or my own other modules that only contain java classes and are built as jar-files. 3. I added the "type" gwt-lib to the dependencies in the "gwt client" pom, but I didn't do anything to the pom files in the jar modules that the gwt client depend on. I mean, Lombok doesn't have a packaging gwt-lib in its pom, either. On Friday 12 April 2024 at 11:15:38 UTC+2 Jens wrote: > A full example for multiple maven modules (more than just three) can be > found here: > https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e > > You have to add gwt-lib to your own maven library > modules that contain a module.gwt.xml file. Maybe you forgot that? > > -- J. > > Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2: > >> I *really* could use some help getting my project up for development >> after moving to gwt 2.10 and Java 11. >> I can unfortunately nolonger use the GWT intellij plugin i've loved and >> used for 12 years apparently, and i'm struggling a bit to get the >> codeserver running for my project. >> >> *CURRENT STATUS:* >> My project is over 12 years, but i migrated it from the old gwt mojo >> plugin to the new tbroyer one last year. >> It builds into a war fine and deploys on tomcat. Prior to the migration >> to GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT >> Intellij plugin, which I've loved and used for those same 12 years. >> But now the plugin unfortunately doesn't work, and from what I can tell >> due to the JettyLauncher, (I get lots of classnotfounds for for example >> javax.sql.DataSource) it's kind of impossible to make it run? So I thought >> I'd try what people have been saying, move to the manual thing with server >> and code server, even though it's a more cumbersome setup. >> >> As part of trying to get this show on the road, i created an archetype >> project and got codeserver and server running according to the new v2 >> tutorial. This works fine. >> >> *PROBLEM:* >> Basically i can't get the codeserver to run. My project is pretty large >> so my "webclient" module that contains my gwt client has a bunch of >> dependencies on my own child modules, and a couple of third-party ones such >> as Lombok. >> >> >> When i try the codeserver with this command (from the tutorial) >> * mvn gwt:codeserver -pl webclient -am* >> >> ,where the webclient is the module containing the gwt code and entry >> point, standing in the root dir of my project, >> ,i get page up and page down filled with missing dependencies from stuff >> and "did you forget to inherit"-errors. (see error extract at the bottom) >> >> -I'm not sure if this has something to do with the "workdir", the >> directory i stand in when i try to start the codeserver as described above, >> some dependency declaration i'm missing or something else. >> >> -My dependencies should be ok since i can build it with the plugin, so >> i'm a bit at a loss as to how make this work. >> >> -Help would be much appreciated, right now i can't develop and rolling >> our project back to 2.8 and Java 8 wouldn't be great and take time. Man how >> I wish that the intellij plugin had just kept working. >> >> as a final aside: >> The "neither a gwt-lib or jar" warning messages in the error log below - >> i still get it if i add the gwt-lib type to the dependency, and the >> archetype project prints the same error when created. >> >> *Extract from the error log:* >> >> [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a >> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >> dependency declaration? >> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a >> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >> dependency declaration? >> [INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a gwt-lib >> or jar:sources; Did you forget to use gwt-lib in the >> dependency declaration? >> [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a >> gwt-lib or jar:sources; Did you forget to use gwt-lib in the >> dependency declaration? >> [INFO] Turning off precompile in incremental mode. >> [INFO] Super Dev Mode starting up >> [INFO]workDir: >> /Users/mathias/.projects/myproject/target/gwt/codeserver >> [INFO][WARN] Deactivated PrecompressLinker >> [INFO] 19:00:51.710 [main] INFO org.eclipse.jetty.util.log - Logging >> initialized @778ms to org.eclipse.jetty.util.log.Slf4jLog >> [INFO] 19:00:51.714 [main] DEBUG >> org.eclipse.jetty.http.PreEncodedHttpField - HttpField encoders loaded: >> [org.eclipse.jetty.http.Http1FieldPreEncoder] >> [INFO]Loading Java files in com.myproject.client. >> [INFO]Tracing compile failure path for type >> 'com.myproject.client.domain.group.GroupDragDropLayout' >> [INFO]
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
Fair enough mate, I just remarked on it since when I built the archetype from scratch and saw that, my first thought was "huh wonder why that is, surely it won't work now since it doesn't pull in the classes from shared", but it did :) On Friday 12 April 2024 at 11:20:01 UTC+2 Thomas Broyer wrote: > On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote: > > -My dependencies should be ok since i can build it with the plugin, so i'm > a bit at a loss as to how make this work. > > > Dependencies for gwt:compile and gwt:codeserver aren't the same: > https://tbroyer.github.io/gwt-maven-plugin/codeserver.html > You might have to either adjust the of dependencies (e.g. from > provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. > from runtime to compile+runtime or compile) > > > as a final aside: > The "neither a gwt-lib or jar" warning messages in the error log below - i > still get it if i add the gwt-lib type to the dependency, and the archetype > project prints the same error when created. > > > Note that it's an info, not a warning 😉 > -- 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/023512cf-2680-4f82-937e-ef853cb1e422n%40googlegroups.com.
Help to undrerstand how to use domino-jackson and the annotation JSONMapper
I'm upgrading a old project and i want to replace the old gwt-jackson (https://dominokit.com/solutions/domino-jackson/v1) with the domino-jackson project (https://github.com/DominoKit/domino-jackson). It should be a simple transiction, but i cannot understand how to let the GWT compilation "see" the implementations classes of the ObjectMapper interface. *Here the "old" code from gwt-jackson* *public static interface AltriMetadatiDTOMapper extends com.github.nmorel.gwtjackson.client.ObjectMapper>> {} * * ... * * AltriMetadatiDTOMapper altriMetadatiDTOMapper = GWT.create(AltriMetadatiDTOMapper.class); String jsonAltriMetadati = altriMetadatiDTOMapper.write(object); * *Here the "new" code from domino-jackson* *@org.dominokit.jackson.annotation.JSONMapper public interface AltriMetadatiDTOMapper extends org.dominokit.jackson.ObjectMapper>> {}* * ... * * AltriMetadatiDTOMapper altriMetadatiDTOMapper = GWT.create(AltriMetadatiDTOMappe.class); String jsonAltriMetadati = altriMetadatiDTOMapper.write(object); * but it give to me this error [ERROR] Errors in 'xxx.java' [INFO] [ERROR] Line 662: Rebind result 'xxx.AltriMetadatiDTOMapper' must be a class Did anyone know what i'm doing wrong ? -- 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/bc645145-3583-48ea-a757-ec2a2ad700c5n%40googlegroups.com.
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
On Friday, April 12, 2024 at 7:50:42 AM UTC+2 Mathias wrote: -My dependencies should be ok since i can build it with the plugin, so i'm a bit at a loss as to how make this work. Dependencies for gwt:compile and gwt:codeserver aren't the same: https://tbroyer.github.io/gwt-maven-plugin/codeserver.html You might have to either adjust the of dependencies (e.g. from provided to compile) or adjust the gwt:codeserver's classpathScope (e.g. from runtime to compile+runtime or compile) as a final aside: The "neither a gwt-lib or jar" warning messages in the error log below - i still get it if i add the gwt-lib type to the dependency, and the archetype project prints the same error when created. Note that it's an info, not a warning 😉 -- 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/22b7fe06-6d3e-4215-979f-da5477c44508n%40googlegroups.com.
Re: Really need help getting CodeServer to run with Java 11 and GWT 2.10
A full example for multiple maven modules (more than just three) can be found here: https://github.com/tbroyer/gwt-maven-plugin/tree/main/src/it/e2e You have to add gwt-lib to your own maven library modules that contain a module.gwt.xml file. Maybe you forgot that? -- J. Mathias schrieb am Freitag, 12. April 2024 um 07:50:42 UTC+2: > I *really* could use some help getting my project up for development > after moving to gwt 2.10 and Java 11. > I can unfortunately nolonger use the GWT intellij plugin i've loved and > used for 12 years apparently, and i'm struggling a bit to get the > codeserver running for my project. > > *CURRENT STATUS:* > My project is over 12 years, but i migrated it from the old gwt mojo > plugin to the new tbroyer one last year. > It builds into a war fine and deploys on tomcat. Prior to the migration to > GWT 2.10 (with new Jetty) and Java 11, i could run it with the GWT Intellij > plugin, which I've loved and used for those same 12 years. > But now the plugin unfortunately doesn't work, and from what I can tell > due to the JettyLauncher, (I get lots of classnotfounds for for example > javax.sql.DataSource) it's kind of impossible to make it run? So I thought > I'd try what people have been saying, move to the manual thing with server > and code server, even though it's a more cumbersome setup. > > As part of trying to get this show on the road, i created an archetype > project and got codeserver and server running according to the new v2 > tutorial. This works fine. > > *PROBLEM:* > Basically i can't get the codeserver to run. My project is pretty large so > my "webclient" module that contains my gwt client has a bunch of > dependencies on my own child modules, and a couple of third-party ones such > as Lombok. > > > When i try the codeserver with this command (from the tutorial) > * mvn gwt:codeserver -pl webclient -am* > > ,where the webclient is the module containing the gwt code and entry > point, standing in the root dir of my project, > ,i get page up and page down filled with missing dependencies from stuff > and "did you forget to inherit"-errors. (see error extract at the bottom) > > -I'm not sure if this has something to do with the "workdir", the > directory i stand in when i try to start the codeserver as described above, > some dependency declaration i'm missing or something else. > > -My dependencies should be ok since i can build it with the plugin, so i'm > a bit at a loss as to how make this work. > > -Help would be much appreciated, right now i can't develop and rolling our > project back to 2.8 and Java 8 wouldn't be great and take time. Man how I > wish that the intellij plugin had just kept working. > > as a final aside: > The "neither a gwt-lib or jar" warning messages in the error log below - i > still get it if i add the gwt-lib type to the dependency, and the archetype > project prints the same error when created. > > *Extract from the error log:* > > [INFO] Ignoring com.myproject:generalcommons:jar:1.0-SNAPSHOT; neither a > gwt-lib or jar:sources; Did you forget to use gwt-lib in the > dependency declaration? > [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a > gwt-lib or jar:sources; Did you forget to use gwt-lib in the > dependency declaration? > [INFO] Ignoring com.myproject:webmaps:jar:1.0-SNAPSHOT; neither a gwt-lib > or jar:sources; Did you forget to use gwt-lib in the > dependency declaration? > [INFO] Ignoring com.myproject:webshared:jar:1.0-SNAPSHOT; neither a > gwt-lib or jar:sources; Did you forget to use gwt-lib in the > dependency declaration? > [INFO] Turning off precompile in incremental mode. > [INFO] Super Dev Mode starting up > [INFO]workDir: /Users/mathias/.projects/myproject/target/gwt/codeserver > [INFO][WARN] Deactivated PrecompressLinker > [INFO] 19:00:51.710 [main] INFO org.eclipse.jetty.util.log - Logging > initialized @778ms to org.eclipse.jetty.util.log.Slf4jLog > [INFO] 19:00:51.714 [main] DEBUG > org.eclipse.jetty.http.PreEncodedHttpField - HttpField encoders loaded: > [org.eclipse.jetty.http.Http1FieldPreEncoder] > [INFO]Loading Java files in com.myproject.client. > [INFO]Tracing compile failure path for type > 'com.myproject.client.domain.group.GroupDragDropLayout' > [INFO] [ERROR] Errors in > 'file:/Users/mathias/.projects/myproject/webgwtcommons/src/main/java/com/myproject/client/domain/group/GroupDragDropLayout.java' > [INFO] [ERROR] Line 18: The import lombok cannot be resolved > [INFO] [ERROR] Line 7: The import com.myproject.common cannot be > resolved > [INFO] [ERROR] Line 32: Getter cannot be resolved to a type > [INFO] [ERROR] Line 114: CSConstants cannot be resolved to a > variable > [INFO]Tracing compile failure path for type > 'com.google.gwt.validation.client.impl.ConstraintFinderImpl' > [INFO] [ERROR] Errors in > 'jar:file:/Users/mathias/.m2/repository/org/gwtproject/gwt-user/2.1