gwt-plugins / gwt-plugins/gwt-eclipse-plugin
Maven dependencies not copied to WEB-INF/lib
- Ngôn ngữ chính
- Java
- Star
- 117
- Fork
- 49
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Continuing from https://github.com/gwtproject/gwt/issues/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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Import the gwt-devmode-server project into Eclipse, enable IMPL_CARGO_EMBEDDED_TOMCAT9, and run DevMode on GWT-DevMode-server.POC.javax.web with the named DevModeServerLauncher. Inspect target/gwt-maven-plugin/WEB-INF/lib and the Maven dependency-copying path; done means both spring-webmvc.jar and spring-web.jar are present and loaded by the webapp classloader.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- build-system
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100