GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — 啥时候可以和quarkus 框架匹配下啊 · Issue #3732 · binarywang/WxJava

啥时候可以和quarkus 框架匹配下啊 #3732

New issue
Copy link
New issue
Copy link
Closed
#3733
Closed
啥时候可以和quarkus 框架匹配下啊#3732
#3733
Copy link
Assignees
copilot-swe-agent

Description

@UFO233
UFO233
opened on Oct 9, 2025
Issue body actions

提问前,请确保阅读过项目首页说明以及wiki开发文档相关内容,完成内容后,请务必移除包括本句在内的无用内容,以免影响他人阅读,否则直接关闭,谢谢合作~

简要描述

我用quarkus3.3 + weixin-java-miniapp 4.7.8.B 编译本地代码时候报

Error: Unsupported features in 3 methods
Detailed message:
Error: Detected an instance of Random/SplittableRandom class in the image heap. Instances created during image generation have cached seed values and don't behave as expected. Try avoiding to initialize the class that caused initialization of the object.
The culprit object has been instantiated by the 'org.apache.http.impl.auth.NTLMEngineImpl' class initializer with the following trace:
at java.security.SecureRandom.(SecureRandom.java:331)
at java.security.SecureRandom.getInstance(SecureRandom.java:391)
at org.apache.http.impl.auth.NTLMEngineImpl.(NTLMEngineImpl.java:103)
The object was probably created by a class initializer and is reachable from a static field. You can request class initialization at image runtime by using the option --initialize-at-run-time=. Or you can write your own initialization methods and call them explicitly from your main entry point.
Trace: Object was reached by
trying to constant fold static field org.apache.http.impl.auth.NTLMEngineImpl.RND_GEN
at org.apache.http.impl.auth.NTLMEngineImpl.access$000(NTLMEngineImpl.java:51)
parsing method org.apache.http.impl.auth.NTLMEngineImpl.access$000(NTLMEngineImpl.java:51) reachable via the parsing context
at static root method.(Unknown Source)

Error: Discovered unresolved type during parsing: jodd.http.HttpConnectionProvider. This error is reported at image build time because class cn.binarywang.wx.miniapp.executor.JoddApiSignaturePostRequestExecutor is registered for linking at image build time by command line and command line.
Error encountered while parsing cn.binarywang.wx.miniapp.executor.JoddApiSignaturePostRequestExecutor.execute(JoddApiSignaturePostRequestExecutor.java:36)
Parsing context:
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.lambda$execute$1(BaseWxMaServiceImpl.java:373)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl$$Lambda/0x0000000805bd0ce0.execute(Unknown Source)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.executeInternal(BaseWxMaServiceImpl.java:435)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.executeWithRetry(BaseWxMaServiceImpl.java:387)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.execute(BaseWxMaServiceImpl.java:358)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.post(BaseWxMaServiceImpl.java:313)
at cn.binarywang.wx.miniapp.api.impl.WxMaOcrServiceImpl.idCard(WxMaOcrServiceImpl.java:36)
at com.cxp.application.ocr.strategy.IdCardStrategy.ocr(IdCardStrategy.java:23)
at com.cxp.api.IndexApi.OCR(IndexApi.java:140)
at root method.(Unknown Source)

Error: Discovered unresolved type during parsing: jodd.http.HttpConnectionProvider. This error is reported at image build time because class me.chanjar.weixin.common.util.http.jodd.JoddHttpSimplePostRequestExecutor is registered for linking at image build time by command line and command line.
Error encountered while parsing me.chanjar.weixin.common.util.http.jodd.JoddHttpSimplePostRequestExecutor.execute(JoddHttpSimplePostRequestExecutor.java:28)
Parsing context:
at me.chanjar.weixin.common.util.http.jodd.JoddHttpSimplePostRequestExecutor.execute(JoddHttpSimplePostRequestExecutor.java:21)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.lambda$execute$0(BaseWxMaServiceImpl.java:359)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl$$Lambda/0x0000000805b29d08.execute(Unknown Source)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.executeInternal(BaseWxMaServiceImpl.java:435)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.executeWithRetry(BaseWxMaServiceImpl.java:387)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.execute(BaseWxMaServiceImpl.java:358)
at cn.binarywang.wx.miniapp.api.impl.BaseWxMaServiceImpl.post(BaseWxMaServiceImpl.java:313)
at cn.binarywang.wx.miniapp.api.impl.WxMaOcrServiceImpl.idCard(WxMaOcrServiceImpl.java:36)
at com.cxp.application.ocr.strategy.IdCardStrategy.ocr(IdCardStrategy.java:23)
at com.cxp.api.IndexApi.OCR(IndexApi.java:140)
at root method.(Unknown Source)

官方文档地址

请提供所需功能对应的微信官方文档地址以便进行确认。

Reacted by Copilot

Activity

  1. binarywang commented on Oct 11, 2025

    @binarywang
    binarywang
    on Oct 11, 2025
    Owner
    More actions

    欢迎楼主直接提交PR代码来完善支持

  2. binarywang
    assigned
    Copilot
    on Oct 11, 2025
  3. binarywang
    added a commit that references this issue on Nov 2, 2025

    🎨 #3732 Add Quarkus/GraalVM Native Image support - Fix Random instanc…

    bb573af
  4. binarywang
    closed this as completedin #3733on Nov 2, 2025
  5. Copilot
    added a commit that references this issue on Dec 21, 2025

    🎨 #3732 Add Quarkus/GraalVM Native Image support - Fix Random instanc…

    892346b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • Copilot

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402503 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.