LianjiaTech / retrofit-spring-boot-starter

A spring-boot starter for retrofit, supports rapid integration and feature enhancements.(适用于retrofit的spring-boot-starter,支持快速集成和功能增强)
Apache License 2.0
1.77k stars 339 forks source link

retrofit2.9.0版本retrofit2.Platform的非法反射访问 #93

Closed zhouxinlei828 closed 2 years ago

zhouxinlei828 commented 2 years ago

控制台输出警告日志 retrofit2.Platform(文件:.m2/maven/repository/com/squareup/retrofit2/retrofit/2.9.0/retrofit-2.9.0.jar)对构造函数java.lang.invoke的非法反射访问.MethodHandles$Lookup(java.lang.Class,int)

WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by retrofit2.Platform (file:/.m2/maven/repository/com/squareup/retrofit2/retrofit/2.9.0/retrofit-2.9.0.jar) to constructor java.lang.invoke.MethodHandles$Lookup(java.lang.Class,int)
WARNING: Please consider reporting this to the maintainers of retrofit2.Platform
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
chentianming11 commented 2 years ago

这个我没法改啊,是retrofit本身的问题

Horrypotter commented 2 years ago

我也刚遇到这个问题了,还没解决吗?

chentianming11 commented 2 years ago

这个是retrofit的反射调用警告,我这边没法处理。不影响正常使用的。

---原始邮件--- 发件人: @.> 发送时间: 2022年2月8日(周二) 下午4:48 收件人: @.>; 抄送: @.**@.>; 主题: Re: [LianjiaTech/retrofit-spring-boot-starter] retrofit2.9.0版本retrofit2.Platform的非法反射访问 (Issue #93)

我也刚遇到这个问题了,还没解决吗?

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you commented.Message ID: @.***>