WxJava icon indicating copy to clipboard operation
WxJava copied to clipboard

Gson问题

Open dengwenb opened this issue 1 month ago • 1 comments

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [cn.binarywang.wx.miniapp.api.WxMaService]: Factory method 'wxMaService' threw exception with message: Failed making field 'java.io.File#path' accessible; either increase its visibility or write a custom TypeAdapter for its declaring type. See https://github.com/google/gson/blob/main/Troubleshooting.md#reflection-inaccessible

dengwenb avatar Nov 03 '25 03:11 dengwenb

启动参数也加上了 --add-opens java.base/java.io=ALL-UNNAMED jdk21

dengwenb avatar Nov 03 '25 03:11 dengwenb