Quarkus Gradle example?
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- backend, build-system
Hướng nghiên cứu
Bắt đầu với repository mapstruct-quarkus-gradle được liên kết và so sánh nó với ví dụ mapstruct-quarkus. Chạy ./gradlew quarkusDev và kiểm tra lỗi phân giải CDI của PersonMapper được báo cáo; issue được hoàn tất khi ứng dụng có thể truy cập tại http://localhost:8080/ và Gradle build thành công.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
I tried converting the mapstruct-quarkus example directly to gradle.
https://github.com/danelowe/mapstruct-quarkus-gradle
Running ./gradlew quarkusDev results in an error when trying to access the server (http://localhost:8080/)
Caused by: javax.enterprise.inject.UnsatisfiedResolutionException: Unsatisfied dependency for type org.mapstruct.example.quarkus.mapper.PersonMapper and qualifiers [@Default]
- java member: org.mapstruct.example.quarkus.PersonResource#personMapper
- declared on CLASS bean [types=[org.mapstruct.example.quarkus.PersonResource, java.lang.Object], qualifiers=[@Default, @Any], target=org.mapstruct.example.quarkus.PersonResource]
at io.quarkus.arc.processor.Beans.resolveInjectionPoint(Beans.java:487)
at io.quarkus.arc.processor.BeanInfo.init(BeanInfo.java:362)
at io.quarkus.arc.processor.BeanDeployment.init(BeanDeployment.java:226)
... 14 more
Similarly cannot build due to same error.
I have no idea if I'm using it wrong, or if there is a bug with Mapstruct, or with Quarkus, or if some workaround is necessary to get it working with Gradle.
I would like to use Mapstruct in a project with Quarkus/Gradle/Kotlin, but kapt seems to break Quarkus CDI, and I can't get mapstruct to run in Quarkus CDI with Gradle
- Ngôn ngữ chính
- Java
- Star
- 1.4k
- Fork
- 504
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
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
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của mapstruct/mapstruct-examples
-
Java 21 support Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
mapstruct/mapstruct-examples#153 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
mapstruct/mapstruct-examples#149 · 1 bình luận ·
-
mapstruct-protobuf3 use lombok:UnsupportedOperationException(Collections$UnmodifiableCollection) Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
mapstruct/mapstruct-examples#142 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 15/100
mapstruct/mapstruct-examples#138 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
mapstruct/mapstruct-examples#128 · 1 reaction ·
Tất cả issue của mapstruct/mapstruct-examples
Issue tương tự
-
bug untriaged
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
opensearch-project/ml-commons#5094 ·
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
-
emitter:client:csharp feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
affects/8.10 affects/8.9 component/clients kind/bug likelihood/mid severity/mid
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Two open-case totals on one screen: the Programs tile says 15,858 and the nav badge says 15,868 Đang mởbug frontend maui-pilot
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100