Wednesday, January 7, 2026

GWT / SpringBoot startup order

When I generate a sample "modular-springboot-webapp" project from https://github.com/NaluKit/gwt-maven-springboot-archetype , it doesn't seem to matter what order I start things up (I can start the spring-boot server before the codeserver), and the GWT RPC works fine.

However, with my project, I must start the codeserver first.  If I start the spring-boot server first, I get errors in the log:
io.undertow.servlet: team.drift.server.ServerImpl: ERROR: The serialization policy file '/dt/BDAD2B7008E641096B983533BA494290.gwt.rpc' was not found; did you forget to include it in this deployment?

io.undertow.servlet: team.drift.server.ServerImpl: WARNING: Failed to get the SerializationPolicy 'BDAD2B7008E641096B983533BA494290' for module 'http://lvh.me:8080/dt/'; a legacy, 1.3.3 compatible, serialization policy will be used.  You may experience SerializationExceptions as a result.

Followed by my app crashing when trying to do RPC  with com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException being thrown.

Is is a requirement that the CodeServer must be started first?  Or have I messed something up in one of my pom.xml files?

--
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/9d8e3d5b-af5c-4bc1-93cf-7ff2a3d7d977n%40googlegroups.com.

No comments:

Post a Comment