Continuing from gwtproject/gwt#10056
Running DevMode on a GWT module that carries modules with similar names does not copy all JARs to WEB-INF/lib
for example: spring-webmvc.jar is copied but spring-web.jar is not
Checkout and import https://bitbucket.org/upperlimit-public/gwt-devmode-server/src/main into an Eclipse Workspace.
I am using Eclipse 2025-03 but any relatively recent version should reproduce the problem.
Run DevMode on module GWT-DevMode-server.POC.javax.web with program argument -server net.upperlimit.tools.GWT.DevMode.server.impl.Cargo.embedded.Tomcat9.javax.DevModeServerLauncher after enabling profile named IMPL_CARGO_EMBEDDED_TOMCAT9
Under target/gwt-maven-plugin/WEB-INF/lib you will only see spring-webmvc.jar present but not spring-web.jar
This is important because the components in the missing JAR are loaded by the parent DevMode classloader instead of the webapp classloader, leading to a chain of runtime problems which are impossible to resolve.
Continuing from gwtproject/gwt#10056
Running DevMode on a GWT module that carries modules with similar names does not copy all JARs to
WEB-INF/libfor example:
spring-webmvc.jaris copied butspring-web.jaris notCheckout and import https://bitbucket.org/upperlimit-public/gwt-devmode-server/src/main into an Eclipse Workspace.
I am using Eclipse 2025-03 but any relatively recent version should reproduce the problem.
Run DevMode on module
GWT-DevMode-server.POC.javax.webwith program argument-server net.upperlimit.tools.GWT.DevMode.server.impl.Cargo.embedded.Tomcat9.javax.DevModeServerLauncherafter enabling profile namedIMPL_CARGO_EMBEDDED_TOMCAT9Under
target/gwt-maven-plugin/WEB-INF/libyou will only seespring-webmvc.jarpresent but notspring-web.jarThis is important because the components in the missing JAR are loaded by the parent DevMode classloader instead of the webapp classloader, leading to a chain of runtime problems which are impossible to resolve.