Friday, July 11, 2025

Re: Using rpc.XserializeFinalFields

Thanks for the responses. The biggest thing, I suppose, is JPMS, especially since Java 17, which I have not yet had a need to learn much about. Am I setting myself up for reflection exceptions in unpredictable places, as suggested at https://docs.oracle.com/en/java/javase/17/migrate/migrating-jdk-8-later-jdk-releases.html#GUID-7BB28E4D-99B3-4078-BDC4-FC24180CE82B and https://github.com/gwtproject/gwt/issues/9793? If so, is there a good workaround? And after digging further, I found a proposal at https://openjdk.org/jeps/8349536 to disallow the final field modification used by the deserializer (https://github.com/gwtproject/gwt/blob/498c127d78e24e0768f50f16afdb0040e4317ea3/user/src/com/google/gwt/user/server/rpc/impl/ServerSerializationStreamReader.java#L851). So maybe this is a bad idea in the long-term unless the deserializer is able to be switched to using ReflectionFactory.

And unfortunately, the DTOs really are quite messy to use with Jackson.

On Friday, July 11, 2025 at 11:08:26 AM UTC-5 Tim Macpherson wrote:
My DTOs had some circular references which were permissable for rpc but not for Jackson.
So far no other problems.
On Thu, Jul 10, 2025 at 7:22 PM, Colin Alworth
If your DTO classes care about specific collection implementations, or want maps with complex keys, or want to serialize non-tree graphs (so the same object can appear more than once when it gets to the client), JSON might add extra hurdles.

The final field serialization feature was added a long time ago, and I don't think I've seen any issues come up since it was first added.  Brian's comment near the end of that ticket still applies - it probably isn't safe to assume for general purpose libraries, but if you own the application as well, it should be safe to use.

On Thursday, July 10, 2025 at 12:21:51 PM UTC-5 tim_mac...@yahoo.co.uk wrote:
I recently migrated from rpc to Domino Jackson. 

If your DTO classes are well formed it's not difficult - so far,  not completely tested 


On Thu, Jul 10, 2025 at 2:54 PM, 'Gerard Keiser' via GWT Users
I noticed there were many warnings about adding the experimental it's not rpc.XserializeFinalFields flag (https://github.com/gwtproject/gwt/issues/1062). Is there anything I should be looking out for if I try this?

(Yes, I would prefer to just use Jackson, but that is a much larger migration effort.)

--
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-tool...@googlegroups.com.

--
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-tool...@googlegroups.com.
To view this discussion visit

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/e625b6e7-7f8a-414d-88f3-dfa2e32e0fd7n%40googlegroups.com.

Re: Using rpc.XserializeFinalFields

My DTOs had some circular references which were permissable for rpc but not for Jackson.
So far no other problems.


On Thu, Jul 10, 2025 at 7:22 PM, Colin Alworth
<colin@colinalworth.com> wrote:
If your DTO classes care about specific collection implementations, or want maps with complex keys, or want to serialize non-tree graphs (so the same object can appear more than once when it gets to the client), JSON might add extra hurdles.

The final field serialization feature was added a long time ago, and I don't think I've seen any issues come up since it was first added.  Brian's comment near the end of that ticket still applies - it probably isn't safe to assume for general purpose libraries, but if you own the application as well, it should be safe to use.

On Thursday, July 10, 2025 at 12:21:51 PM UTC-5 tim_mac...@yahoo.co.uk wrote:
I recently migrated from rpc to Domino Jackson. 

If your DTO classes are well formed it's not difficult - so far,  not completely tested 


On Thu, Jul 10, 2025 at 2:54 PM, 'Gerard Keiser' via GWT Users
I noticed there were many warnings about adding the experimental it's not rpc.XserializeFinalFields flag (https://github.com/gwtproject/gwt/issues/1062). Is there anything I should be looking out for if I try this?

(Yes, I would prefer to just use Jackson, but that is a much larger migration effort.)

--
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-tool...@googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit
https://groups.google.com/d/msgid/google-web-toolkit/c00328d3-56c2-44a6-87b6-ea2b7fab5f30n%40googlegroups.com
.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/1534449427.1166020.1752250049597%40mail.yahoo.com.

Re: Super Dev Mode pauses on “invisible” breakpoints & then shows blank screen

Having seen your StackOverflow post with added detail, I thought I'd answer here too, as it might help anyone else who runs into this.

In Super Dev Mode, the Java `assert` keyword compiles roughly to
if (!<condition>) {
    debugger;
    throw AssertionError(<message>);
}

This way, if you have a debugger running, you can catch it as it fails this check and see what happened to cause that failure. If not, you'll just get the AssertionError thrown and have to handle it.

Assertions are disabled by default in production, but can be enabled if desired.

They are always enabled in SDM at this time.

On Wednesday, July 9, 2025 at 6:56:22 PM UTC-5 ma...@craig-mitchell.com wrote:
In the Chrome Debugger, does it tell you where it's stopped in the sources tab?

Someone might have added GWT.debugger(); to the code.

I actually can't remember what the point of the code servers "Dev Mode On / Off" is.  I never use it.  The code server just does its thing automatically for me.

On Wednesday, 9 July 2025 at 6:34:51 pm UTC+10 divyanshu kumar wrote:

I'm running GWT Super Dev Mode via ant devmode (with my main server already up in another terminal). The code server launches fine, and I click my "Dev Mode On" bookmarklet in Chrome. Compilation proceeds without errors, but then DevTools immediately pops up saying "paused on breakpoint." I didn't set any breakpoints.

Steps I've already taken:

  • Disabled all breakpoints in Chrome DevTools (Sources ➤ 🔴 Deactivate Breakpoints).

  • Cleared any marker breakpoints in my code editor.

  • Toggled Dev Mode off and back on again—but now I just see a blank screen.

Logs from the terminal during this process:

[java] GET /sourcemaps/ode/D4A92ECC870BD56410DE88EB04617475_sourcemap.json
[java] sent source map for module 'ode' in 169 ms
[java] GET /recompile/ode
[java] Job com.google.appinventor.YaClient-dev_1_2
[java] starting job: com.google.appinventor.YaClient-dev_1_2
[java] binding: locale=en
[java] binding: user.agent=safari
[java] skipped compile because no input files have changed
[java] 0.108s total -- Compile completed
[java] GET /sourcemaps/ode
[java] [WARN] ignored get request: /sourcemaps/ode
[java] [WARN] not handled: /sourcemaps/ode

Any guidance or troubleshooting steps would be hugely appreciated!
Thanks in advance 🙏

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/f57f11b7-1e83-4e49-ab03-8c7f33936618n%40googlegroups.com.

Re: Issue Running gwt:codeserver with JDK 17 in IntelliJ - "No project found" Error



On Friday, July 11, 2025 at 12:56:13 PM UTC+2 arpanam...@gmail.com wrote:
Hello Thomas,
We have migrated our application from version gwt 2.8.1 to 2.12.0 along with the JDK version updated to 17 and now deploying this to Wildfly 33.

If that's all you changed, then I see no reason why gwt:codeserver would start failing if it worked before.

BUT note that gwt:codeserver needs to be run on your root project, not in the phoenix-main subproject.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/695ff433-a6c9-4a27-af6a-fe35c3413448n%40googlegroups.com.

Re: Issue Running gwt:codeserver with JDK 17 in IntelliJ - "No project found" Error

Hello Thomas,
We have migrated our application from version gwt 2.8.1 to 2.12.0 along with the JDK version updated to 17 and now deploying this to Wildfly 33.
Please find screen of different that clube into single war and main is the module. Please find the screenshot for the reference :



On Fri, Jul 11, 2025 at 2:42 PM Thomas Broyer <t.broyer@gmail.com> wrote:


On Friday, July 11, 2025 at 8:32:07 AM UTC+2 arpanam...@gmail.com wrote:

Dear GWT Community,

We are currently in the process of upgrading our legacy GWT-based Maven WAR project to be compatible with JDK 17. While configuring Super Dev Mode using the gwt-maven-plugin (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2) in IntelliJ (Community Edition 2024.3.5), we are encountering an error when executing the gwt:codeserver goal.


What kind of changes have made so far? Where do you come from?
It looks like you possibly changing many things at once (including migrating from whatever you were using previously to the net.ltgt.gwt.maven:gwt-maven-plugin)
 
Environment:
  • JDK: 17 (C:\Program Files\Java\jdk-17\bin\java.exe)

  • Maven: 3.9.9

  • Plugin: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2


Any reason you're not using the latest version?
 
  • IDE: IntelliJ IDEA Community Edition 2024.3.5

  • GWT Mode: gwt:codeserver via IntelliJ Maven goal runner

Issue:

When attempting to run the following command (triggered via IntelliJ):

mvn gwt:codeserver

we receive the following error at the end of the build log:

You also have a bunch of warnings related to your dependencies that you'd want to fix. 

pgsql

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on project phoenix-main: No project found -> [Help 1]

"The projects property can also be used to run the CodeServer on modules which are not gwt-app (e.g. war)."

"Defaults to all the gwt-app projects in the reactor."

You have a single project that has packaging=war.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/7d52c65c-de46-43fe-aab6-e2f461f8c0d6n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/CAG3PeM8HEp_oRLWMhkmSe9kDoUtmmpK2996d5UHJKierG%3D8sFQ%40mail.gmail.com.

Re: Issue Running gwt:codeserver with JDK 17 in IntelliJ - "No project found" Error



On Friday, July 11, 2025 at 8:32:07 AM UTC+2 arpanam...@gmail.com wrote:

Dear GWT Community,

We are currently in the process of upgrading our legacy GWT-based Maven WAR project to be compatible with JDK 17. While configuring Super Dev Mode using the gwt-maven-plugin (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2) in IntelliJ (Community Edition 2024.3.5), we are encountering an error when executing the gwt:codeserver goal.


What kind of changes have made so far? Where do you come from?
It looks like you possibly changing many things at once (including migrating from whatever you were using previously to the net.ltgt.gwt.maven:gwt-maven-plugin)
 
Environment:
  • JDK: 17 (C:\Program Files\Java\jdk-17\bin\java.exe)

  • Maven: 3.9.9

  • Plugin: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2


Any reason you're not using the latest version?
 
  • IDE: IntelliJ IDEA Community Edition 2024.3.5

  • GWT Mode: gwt:codeserver via IntelliJ Maven goal runner

Issue:

When attempting to run the following command (triggered via IntelliJ):

mvn gwt:codeserver

we receive the following error at the end of the build log:

You also have a bunch of warnings related to your dependencies that you'd want to fix. 

pgsql

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on project phoenix-main: No project found -> [Help 1]

https://tbroyer.github.io/gwt-maven-plugin/codeserver.html
"The projects property can also be used to run the CodeServer on modules which are not gwt-app (e.g. war)."

https://tbroyer.github.io/gwt-maven-plugin/codeserver-mojo.html#projects
"Defaults to all the gwt-app projects in the reactor."

You have a single project that has packaging=war.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/7d52c65c-de46-43fe-aab6-e2f461f8c0d6n%40googlegroups.com.

Re: Errai “No proxy provider found” – but only for one model?

I have never used Errai, so I can't help. 

There were always a bunch of frameworks and widget libraries which offered an alternative approach to the GWT one - similar to Errai. Nowadays I would suggest looking into the DominoKit stack which is well maintained. Also Nalu might be an interesting alternative - Nalu does not offer a widget library but f.e.  works well with the one from DominoKit. And, TBH, I don't think that things like CDI, data binding, etc, needs to be provided  necessarily by GWT.  

Kerby schrieb am Mittwoch, 9. Juli 2025 um 10:52:17 UTC+2:

Hi Dmitrii, were you one of the Errai maintainers?

I'm hesitant to post on their channels—looks like Errai has been abandoned. Sadly, that's often the fate of open source under corporate backing.

Without Colin or Thomas, GWT might've died too.

For projects using Errai CDI, UI/Data Binding, or HTML Templating, this might be a dead end—unless GWT introduces similar capabilities, which seems unlikely given its focus on admin UIs and reliance on prebuilt widgets. Plus, replicating those features would be a massive effort.

Back to the issue: I just used a classic GWT value change handler, initialized it in `@PostConstruct`, and it behaves like data binder—probably how it works internally anyway.

P.S. Errai CDI really gave GWT a reactive feel.



On Wednesday, July 9, 2025 at 8:15:10 AM UTC+8 Dmitrii Tikhomirov wrote:
On Jul 8, 2025, at 5:08 PM, Craig Mitchell <ma...@craig-mitchell.com> wrote:

Unfortuntely, I don't think this is a GWT issue, I've never seen GWT throw any error like this before.  As far as I know, GWT doesn't have the concept of proxies or bound models.  Hope you find your issue.

On Tuesday, 8 July 2025 at 12:08:46 am UTC+10 Kerby wrote:

I'm getting a `No proxy provider found for bindable type` error from Errai for one specific model (`Token`), even though:


* It's annotated with both `@Bindable` and `@Portable`

* It's used with `@Model` and `DataBinder`

* It's in the same package as other models like `User`, `Post`, `Comment`, etc.


What's strange is: other models work fine and I can see them in the generated `.errai` `BindableProxyLoaderImpl`. But `Token` is missing entirely from that list — like Errai skipped it during codegen.


I already have `ErraiApp.properties`, proper module inheritance, and everything else in place.

Why would only one model get skipped like this?


Anyone encountered this before?


-- 
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-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/fe847138-71f9-4cb3-a9f3-fcac54cb82d0n%40googlegroups.com.

Yes, this is an issue with Red Hat Errai, most likely because Errai hasn't been updated or tested with the latest versions of GWT in a very long time. 

To be honest, I don't even know who could help you, this framework has long been unsupported

You can try opening an issue on the Errai GitHub, but there are no guarantees.
I haven't been responsible for Errai's development and support for a long time

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/e9b87385-4700-4dc9-8108-a2ffbe830b62n%40googlegroups.com.

Re: Issue Running gwt:codeserver with JDK 17 in IntelliJ - "No project found" Error

Please find the screenshot for the reference


On Fri, Jul 11, 2025 at 12:02 PM Arpan Ameta <arpanameta1991@gmail.com> wrote:

Dear GWT Community,

We are currently in the process of upgrading our legacy GWT-based Maven WAR project to be compatible with JDK 17. While configuring Super Dev Mode using the gwt-maven-plugin (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2) in IntelliJ (Community Edition 2024.3.5), we are encountering an error when executing the gwt:codeserver goal.

Environment:
  • JDK: 17 (C:\Program Files\Java\jdk-17\bin\java.exe)

  • Maven: 3.9.9

  • Plugin: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2

  • IDE: IntelliJ IDEA Community Edition 2024.3.5

  • GWT Mode: gwt:codeserver via IntelliJ Maven goal runner

Issue:

When attempting to run the following command (triggered via IntelliJ):

mvn gwt:codeserver

we receive the following error at the end of the build log:

pgsql

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on project phoenix-main: No project found -> [Help 1]


--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/7d61766e-094b-4238-8100-0e528a6bf343n%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/CAG3PeM_1a9wKs9B5zy8JVuMcLh9my4ZubLCsHhCfQJ1hicW13A%40mail.gmail.com.

Thursday, July 10, 2025

Issue Running gwt:codeserver with JDK 17 in IntelliJ - "No project found" Error

<?xml version="1.0"?>
<project
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>new_phoenix</artifactId>
<groupId>phoenix</groupId>
<version>1.0</version>
</parent>
<groupId>phoenix</groupId>
<artifactId>phoenix-main</artifactId>
<name>phoenix-main</name>
<version>1.0</version>
<packaging>war</packaging>
<properties>
<maven.compiler.source>17</maven.compiler.source>
<maven.compiler.target>17</maven.compiler.target>
<bambooSharedBeanVersionNumber>27.0</bambooSharedBeanVersionNumber>
<java-classifier>jdk17</java-classifier>

<!--Third Party Library-->
<spring.version>6.1.12</spring.version>
<lettuce-core.version>6.5.4.RELEASE</lettuce-core.version>
<jakarta.annotation-api.version>1.3.5</jakarta.annotation-api.version>

<!-- Utilities -->
<log4jframework.version>1.0</log4jframework.version>

<!-- Maven plugins -->
<maven-compiler-plugin.version>3.13.0</maven-compiler-plugin.version>
<maven-enforcer-plugin.version>3.5.0</maven-enforcer-plugin.version>
<maven-resources-plugin.version>3.3.1</maven-resources-plugin.version>
<maven-jar-plugin.version>3.4.2</maven-jar-plugin.version>
<transformer-maven-plugin.version>1.0.0</transformer-maven-plugin.version>

<jakarta.ws.rs-api.version>4.0.0</jakarta.ws.rs-api.version>
<jakarta.servlet.version>6.1.0</jakarta.servlet.version>
<jakarta.activation.version>2.1.3</jakarta.activation.version>
<jakarta.mail.version>2.1.3</jakarta.mail.version>
<jakarta.ws.rs.version>3.1.0</jakarta.ws.rs.version>
<gwt.version>2.12.0</gwt.version>
<bambooSharedBeanVersionNumber>27.0</bambooSharedBeanVersionNumber>

<gwt.maven.plugin.version>2.11.0</gwt.maven.plugin.version>

<war.name>phoenix</war.name>
<deploy.url>http://localhost:8080/phoenix</deploy.url>
<!-- Use this for Windows -->
<autodeploy.folder>D:\wildfly-33.0.0.Final\standalone\deployments</autodeploy.folder>

<!-- Use this for /Unix -->
<!-- uncomment the below line and comment above line to use in on mumphoenix
server -->
<!--<autodeploy.folder>${basedir}/war</autodeploy.folder> -->
</properties>



<dependencies>
<dependency>
<groupId>phoenix</groupId>
<artifactId>phoenix-core</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
<classifier>${java-classifier}</classifier>
</dependency>
<dependency>
<groupId>phoenix</groupId>
<artifactId>phoenix-common</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
<classifier>${java-classifier}</classifier>
</dependency>
<dependency>
<groupId>phoenix</groupId>
<artifactId>phoenix-framework</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
<classifier>${java-classifier}</classifier>
</dependency>
<dependency>
<groupId>phoenix</groupId>
<artifactId>phoenix-admin</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
<classifier>${java-classifier}</classifier>
</dependency>
<dependency>
<groupId>phoenix</groupId>
<artifactId>phoenix-routing</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
<classifier>${java-classifier}</classifier>
</dependency>
<dependency>
<groupId>phoenix</groupId>
<artifactId>phoenix-ocean</artifactId>
<version>1.0</version>
<type>jar</type>
<scope>compile</scope>
<classifier>${java-classifier}</classifier>
</dependency>
<dependency>
<groupId>org.codehaus.mojo</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>2.10.0</version>
<exclusions>
<exclusion>
<artifactId>struts-core</artifactId>
<groupId>org.apache.struts</groupId>
</exclusion>
<exclusion>
<artifactId>velocity-tools</artifactId>
<groupId>org.apache.velocity</groupId>
</exclusion>
<exclusion>
<artifactId>commons-collections</artifactId>
<groupId>commons-collections</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>jakarta.annotation</groupId>
<artifactId>jakarta.annotation-api</artifactId>
<version>${jakarta.annotation-api.version}</version> <!-- or
the latest stable version -->
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>${jakarta.servlet.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.activation</groupId>
<artifactId>jakarta.activation-api</artifactId>
<version>${jakarta.activation.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.ws.rs</groupId>
<artifactId>jakarta.ws.rs-api</artifactId>
<version>${jakarta.ws.rs-api.version}</version>
</dependency>
<dependency>
<groupId>jakarta.servlet</groupId>
<artifactId>jakarta.servlet-api</artifactId>
<version>${jakarta.servlet.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.15.1</version> <!-- Latest as of 2024 -->
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-taglib -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-taglib</artifactId>
<version>1.3.10</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>4.0.1</version>
</dependency>
<dependency>
<groupId>javax.servlet.jsp</groupId>
<artifactId>javax.servlet.jsp-api</artifactId>
<version>2.3.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>jakarta.servlet.jsp</groupId>
<artifactId>jakarta.servlet.jsp-api</artifactId>
<version>3.0.0</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.struts/struts2-core -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts2-core</artifactId>
<version>7.0.3</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-taglib -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-taglib</artifactId>
<version>1.3.10</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.struts/struts-tiles -->
<dependency>
<groupId>org.apache.struts</groupId>
<artifactId>struts-tiles</artifactId>
<version>1.3.10</version>
<scope>provided</scope>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity-engine-core -->
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity-engine-core</artifactId>
<version>2.4.1</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.apache.velocity.tools/velocity-tools-generic -->
<dependency>
<groupId>org.apache.velocity.tools</groupId>
<artifactId>velocity-tools-generic</artifactId>
<version>3.1</version>
<exclusions>
<exclusion>
<artifactId>commons-collections</artifactId>
<groupId>commons-collections</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.apache.velocity</groupId>
<artifactId>velocity</artifactId>
<version>1.5</version>
</dependency>
<dependency>
<groupId>org.apache.velocity.tools</groupId>
<artifactId>velocity-tools-view</artifactId>
<version>3.1</version>
</dependency>

</dependencies>

<issueManagement>
<system>Bugzilla</system>
<url>bugzilla.shipco.com</url>
</issueManagement>
<inceptionYear>October 2010</inceptionYear>
<organization>
<name>Shipco Corporation Inc</name>
<url>http://www.shipco.com</url>
</organization>
<build>
<testResources>
<testResource>
<directory>resources/query</directory>
</testResource>
</testResources>
<outputDirectory>war/WEB-INF/classes</outputDirectory>
<plugins>
<plugin>
<groupId>net.ltgt.gwt.maven</groupId>
<artifactId>gwt-maven-plugin</artifactId>
<version>1.0-rc-2</version>
<executions>
<execution>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
<configuration>
<moduleName>com.shipco.phoenix.Application</moduleName>
<localWorkers>3</localWorkers>
<style>DETAILED</style>
<workDir>${basedir}/tmp</workDir>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>${maven-resources-plugin.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.4.0</version>
<executions>
<execution>
<id>jdk17-jar</id>
<phase>package</phase>
<configuration>
<classifier>jdk17</classifier>
</configuration>
</execution>
</executions>
<configuration>
<webResources>
<resource>
<directory>${basedir}/resources</directory>
<excludes>
<exclude>**/*.jar</exclude>
</excludes>
</resource>
</webResources>
<webappDirectory>${project.build.directory}/${project.build.finalName}/com.shipco.phoenix.Application</webappDirectory>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<outputDirectory>${autodeploy.folder}</outputDirectory>
<warName>${war.name}</warName>
<packagingExcludes>WEB-INF/lib/gwt-dev-*,WEB-INF/lib/ojdbc14-*,WEB-INF/lib/ironjacamar-jdbc--1.0.3.Final.jar,.gwt-tmp/**</packagingExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<webResources>
<resource>
<directory>${basedir}/resources</directory>
<excludes>
<exclude>**/*.jar</exclude>
</excludes>
</resource>
</webResources>
<webappDirectory>${project.build.directory}/${project.build.finalName}/com.shipco.phoenix.Application</webappDirectory>
<webXml>src/main/webapp/WEB-INF/web.xml</webXml>
<outputDirectory>${autodeploy.folder}</outputDirectory>
<warName>${war.name}</warName>
<packagingExcludes>WEB-INF/lib/gwt-dev-*,WEB-INF/lib/ojdbc14-*,WEB-INF/lib/ironjacamar-jdbc--1.0.3.Final.jar,.gwt-tmp/**</packagingExcludes>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<source>${maven.compiler.source}</source>
<target>${maven.compiler.target}</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.4.3</version>
<configuration>
<includes>
<include>**/*TestCase1.java</include>
</includes>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalJOption>-J-Xmx1024m</additionalJOption>
<minmemory>128m</minmemory>
<maxmemory>1g</maxmemory>
<doclet>org.umlgraph.doclet.UmlGraphDoc</doclet>
<docletArtifact>
<groupId>org.umlgraph</groupId>
<artifactId>doclet</artifactId>
<version>5.1</version>
</docletArtifact>
<additionalparam>-attributes -enumconstants -enumerations
-operations -types -visibility -inferrel -inferdep -hide java.*</additionalparam>
<destDir>target/uml</destDir>
<show>public</show>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.21.0</version>
<configuration>
<skip>false</skip>
<failOnViolation>true</failOnViolation>
<failurePriority>2</failurePriority>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
<!-- <goal>cpd-check</goal> -->
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
"C:\Program Files\Java\jdk-17\bin\java.exe" -Dmaven.multiModuleProjectDirectory=D:\Phoenix-migration\application\phoenix\phoenix-main -Djansi.passthrough=true -Dmaven.home=D:\apache-maven-3.9.9-bin\apache-maven-3.9.9 -Didea.modules.paths.file=C:\Users\aameta\AppData\Local\JetBrains\IdeaIC2024.3\Maven\idea-projects-state-6c60f2d8.properties -Dclassworlds.conf=C:\Users\aameta\AppData\Local\Temp\idea--mvn.conf "-Dmaven.ext.class.path=D:\JetBrains\IntelliJ IDEA Community Edition 2024.3.5\plugins\maven\lib\maven-event-listener.jar" "-javaagent:D:\JetBrains\IntelliJ IDEA Community Edition 2024.3.5\lib\idea_rt.jar=55271" -Dfile.encoding=UTF-8 -classpath D:\apache-maven-3.9.9-bin\apache-maven-3.9.9\boot\plexus-classworlds-2.8.0.jar;D:\apache-maven-3.9.9-bin\apache-maven-3.9.9\boot\plexus-classworlds.license org.codehaus.classworlds.Launcher -Didea.version=2024.3.5 --offline --non-recursive --update-snapshots -s C:/Users/aameta/.m2/settings.xml -Dmaven.repo.local=C:/Users/aameta/.m2/repository -DskipTests=true gwt:codeserver
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for phoenix:phoenix-main:war:1.0
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: jakarta.servlet:jakarta.servlet-api:jar -> duplicate declaration of version ${jakarta.servlet.version} @ line 151, column 15
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.struts:struts-taglib:jar -> duplicate declaration of version 1.3.10 @ line 195, column 15
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-war-plugin @ line 317, column 12
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found duplicate declaration of plugin org.apache.maven.plugins:maven-compiler-plugin @ line 337, column 12
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-javadoc-plugin is missing. @ line 358, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------< phoenix:phoenix-main >------------------------
[INFO] Building phoenix-main 1.0
[INFO] from pom.xml
[INFO] --------------------------------[ war ]---------------------------------
[INFO]
[INFO] >>> gwt:1.0-rc-2:codeserver (default-cli) > process-classes @ phoenix-main >>>
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\gwteventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\gwteventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\parent\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice-rpc\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice-rpc\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The metadata C:\Users\aameta\.m2\repository\com\google\code\gwteventservice\eventservice\1.2.0-SNAPSHOT\maven-metadata-com.oracle.xml is invalid: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8)
[WARNING] The POM for com.microsoft.font:arialUni:jar:1.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model
[FATAL] Non-parseable POM C:\Users\aameta\.m2\repository\com\microsoft\font\arialUni\1.0\arialUni-1.0.pom: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8) @ line 364, column 8

[WARNING] The POM for independentsoft:jwebservices:jar:2.0 is invalid, transitive dependencies (if any) will not be available: 1 problem was encountered while building the effective model
[FATAL] Non-parseable POM C:\Users\aameta\.m2\repository\independentsoft\jwebservices\2.0\jwebservices-2.0.pom: end tag name </head> must be the same as start tag <meta> from line 363 (position: TEXT seen ...="viewport" content="width=device-width,initial-scale=1" >\n</head>... @364:8) @ line 364, column 8

[WARNING] 1 problem was encountered while building the effective model for org.javassist:javassist:jar:3.18.1-GA during dependency collection step for project (use -X to see details)
[INFO]
[INFO] --- resources:3.3.1:resources (default-resources) @ phoenix-main ---
[INFO] Copying 54 resources from src\main\resources to war\WEB-INF\classes
[INFO]
[INFO] --- compiler:2.3.2:compile (default-compile) @ phoenix-main ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] <<< gwt:1.0-rc-2:codeserver (default-cli) < process-classes @ phoenix-main <<<
[INFO]
[INFO]
[INFO] --- gwt:1.0-rc-2:codeserver (default-cli) @ phoenix-main ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 19.922 s
[INFO] Finished at: 2025-07-11T11:46:04+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on project phoenix-main: No project found -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

Process finished with exit code 1

Dear GWT Community,

We are currently in the process of upgrading our legacy GWT-based Maven WAR project to be compatible with JDK 17. While configuring Super Dev Mode using the gwt-maven-plugin (net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2) in IntelliJ (Community Edition 2024.3.5), we are encountering an error when executing the gwt:codeserver goal.

Environment:
  • JDK: 17 (C:\Program Files\Java\jdk-17\bin\java.exe)

  • Maven: 3.9.9

  • Plugin: net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2

  • IDE: IntelliJ IDEA Community Edition 2024.3.5

  • GWT Mode: gwt:codeserver via IntelliJ Maven goal runner

Issue:

When attempting to run the following command (triggered via IntelliJ):

mvn gwt:codeserver

we receive the following error at the end of the build log:

pgsql

[ERROR] Failed to execute goal net.ltgt.gwt.maven:gwt-maven-plugin:1.0-rc-2:codeserver (default-cli) on project phoenix-main: No project found -> [Help 1]


--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/7d61766e-094b-4238-8100-0e528a6bf343n%40googlegroups.com.

Re: Using rpc.XserializeFinalFields

If your DTO classes care about specific collection implementations, or want maps with complex keys, or want to serialize non-tree graphs (so the same object can appear more than once when it gets to the client), JSON might add extra hurdles.

The final field serialization feature was added a long time ago, and I don't think I've seen any issues come up since it was first added.  Brian's comment near the end of that ticket still applies - it probably isn't safe to assume for general purpose libraries, but if you own the application as well, it should be safe to use.

On Thursday, July 10, 2025 at 12:21:51 PM UTC-5 tim_mac...@yahoo.co.uk wrote:
I recently migrated from rpc to Domino Jackson. 

If your DTO classes are well formed it's not difficult - so far,  not completely tested 


On Thu, Jul 10, 2025 at 2:54 PM, 'Gerard Keiser' via GWT Users
I noticed there were many warnings about adding the experimental it's not rpc.XserializeFinalFields flag (https://github.com/gwtproject/gwt/issues/1062). Is there anything I should be looking out for if I try this?

(Yes, I would prefer to just use Jackson, but that is a much larger migration effort.)

--
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-tool...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/144a69f5-29a0-4846-8e0f-6d1782becb2en%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/c00328d3-56c2-44a6-87b6-ea2b7fab5f30n%40googlegroups.com.

Re: Using rpc.XserializeFinalFields

I recently migrated from rpc to Domino Jackson. 

If your DTO classes are well formed it's not difficult - so far,  not completely tested 


On Thu, Jul 10, 2025 at 2:54 PM, 'Gerard Keiser' via GWT Users
<google-web-toolkit@googlegroups.com> wrote:
I noticed there were many warnings about adding the experimental it's not rpc.XserializeFinalFields flag (https://github.com/gwtproject/gwt/issues/1062). Is there anything I should be looking out for if I try this?

(Yes, I would prefer to just use Jackson, but that is a much larger migration effort.)

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/144a69f5-29a0-4846-8e0f-6d1782becb2en%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/47213538.557093.1752168021008%40mail.yahoo.com.

Using rpc.XserializeFinalFields

I noticed there were many warnings about adding the experimental rpc.XserializeFinalFields flag (https://github.com/gwtproject/gwt/issues/1062). Is there anything I should be looking out for if I try this?

(Yes, I would prefer to just use Jackson, but that is a much larger migration effort.)

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/144a69f5-29a0-4846-8e0f-6d1782becb2en%40googlegroups.com.

Wednesday, July 9, 2025

Re: Super Dev Mode pauses on “invisible” breakpoints & then shows blank screen

In the Chrome Debugger, does it tell you where it's stopped in the sources tab?

Someone might have added GWT.debugger(); to the code.

I actually can't remember what the point of the code servers "Dev Mode On / Off" is.  I never use it.  The code server just does its thing automatically for me.

On Wednesday, 9 July 2025 at 6:34:51 pm UTC+10 divyanshu kumar wrote:

I'm running GWT Super Dev Mode via ant devmode (with my main server already up in another terminal). The code server launches fine, and I click my "Dev Mode On" bookmarklet in Chrome. Compilation proceeds without errors, but then DevTools immediately pops up saying "paused on breakpoint." I didn't set any breakpoints.

Steps I've already taken:

  • Disabled all breakpoints in Chrome DevTools (Sources ➤ 🔴 Deactivate Breakpoints).

  • Cleared any marker breakpoints in my code editor.

  • Toggled Dev Mode off and back on again—but now I just see a blank screen.

Logs from the terminal during this process:

[java] GET /sourcemaps/ode/D4A92ECC870BD56410DE88EB04617475_sourcemap.json
[java] sent source map for module 'ode' in 169 ms
[java] GET /recompile/ode
[java] Job com.google.appinventor.YaClient-dev_1_2
[java] starting job: com.google.appinventor.YaClient-dev_1_2
[java] binding: locale=en
[java] binding: user.agent=safari
[java] skipped compile because no input files have changed
[java] 0.108s total -- Compile completed
[java] GET /sourcemaps/ode
[java] [WARN] ignored get request: /sourcemaps/ode
[java] [WARN] not handled: /sourcemaps/ode

Any guidance or troubleshooting steps would be hugely appreciated!
Thanks in advance 🙏

--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/121884a9-a186-465a-9ea6-42f797cb5d65n%40googlegroups.com.