Comments (4)
你好,我在本地运行测试调用出现如图下面报错,该如何解决呢?
Unable to make field protected java.lang.String java.net.HttpURLConnection.method accessible: module java.base does not "opens java.net" to unnamed module @305b7c14
确认一下jdk版本,可以切换到1.8试试,这个是sdk反射出现错误,Java9之后引入了module模块的概念,而不同module模块间是不允许使用反射来访问非public的字段/方法/构造函数(field/method/constructor),除非被访问的目标模块为反射设置open即允许自身被其他模块进行non-public反射访问。
from qi-api.
哦哦哦好的,换了jdk之后问题成功解决了,谢谢!学到了一个Java小知识!但是随后出现了“请正确配置接口凭证”,请问这个该在哪里配置呢?
from qi-api.
from qi-api.
好的解决了谢谢!
from qi-api.
Related Issues (10)
- 无法删除未付款订单 HOT 1
- 无法打包报错 HOT 6
- QiApiGatewayApplication缺少工具类 HOT 1
- 无法打包问题 HOT 12
- 一些建议 HOT 1
- 启动gateway报错 HOT 1
- 本地测试调用报错 HOT 9
- 尝试将网关更改为本地的网关后接口在线调试不通过。 HOT 4
- 腾讯云cosHost判断异常(判非空需改为判空) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qi-api.