Quarkus Gradle example?
還沒有人認領這個 Issue。
評估
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 新手友好度
- 25/100
- Issue 類型
- 缺陷
- 描述清晰度
- 需要釐清
- 活躍度
- 停滯
- 領域
- backend, build-system
研究方向
從連結的 mapstruct-quarkus-gradle 儲存庫開始,並將其與 mapstruct-quarkus 範例進行比較。執行 ./gradlew quarkusDev 並檢查回報的 PersonMapper CDI 解析失敗;當應用程式可透過 http://localhost:8080/ 存取且 Gradle 建置成功時,該 issue 即完成。
由索引模型根據 Issue 內容生成。
描述
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
- 主要語言
- Java
- 星號
- 1.4k
- 分支
- 504
- PR 合併指標
- 30 天內沒有已合併 PR
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
mapstruct/mapstruct-examples 的其他 Issue
-
Java 21 support 未關閉
難度 4/5 3-5 天 新手友好度 35/100
mapstruct/mapstruct-examples#153 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 25/100
mapstruct/mapstruct-examples#149 · 1 則留言 ·
-
mapstruct-protobuf3 use lombok:UnsupportedOperationException(Collections$UnmodifiableCollection) 未關閉
難度 2/5 1-3 小時 新手友好度 45/100
mapstruct/mapstruct-examples#142 ·
-
難度 4/5 3-5 天 新手友好度 15/100
mapstruct/mapstruct-examples#138 ·
-
難度 4/5 3-5 天 新手友好度 25/100
mapstruct/mapstruct-examples#128 · 1 個 reaction ·
查看 mapstruct/mapstruct-examples 的全部 Issue
相似的 Issue
-
area/plugin
難度 2/5 1-3 小時 新手友好度 75/100
kestra-io/plugin-kestra#190 ·
-
難度 2/5 1-3 小時 新手友好度 70/100
google-ai-edge/LiteRT-LM#3739 ·
-
bug
難度 2/5 1-3 小時 新手友好度 75/100
-
難度 2/5 1-3 小時 新手友好度 75/100
integra-team-red/meet-map#249 ·
-
[Studio][Bug] Cancelled create-user dialog keeps the password and admin switch for the next attempt 未關閉
難度 2/5 1-3 小時 新手友好度 75/100
apache/rocketmq-dashboard#5064 ·