Giter VIP home page Giter VIP logo

Comments (4)

qimu666 avatar qimu666 commented on May 27, 2024

你好,我在本地运行测试调用出现如图下面报错,该如何解决呢?
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
0046f5c039cf1b26afaa43c3a920103

确认一下jdk版本,可以切换到1.8试试,这个是sdk反射出现错误,Java9之后引入了module模块的概念,而不同module模块间是不允许使用反射来访问非public的字段/方法/构造函数(field/method/constructor),除非被访问的目标模块为反射设置open即允许自身被其他模块进行non-public反射访问。

from qi-api.

guicaizhici avatar guicaizhici commented on May 27, 2024

哦哦哦好的,换了jdk之后问题成功解决了,谢谢!学到了一个Java小知识!但是随后出现了“请正确配置接口凭证”,请问这个该在哪里配置呢?
054ef6ccb5d07e03e7509e6110ff9ae

from qi-api.

qimu666 avatar qimu666 commented on May 27, 2024

from qi-api.

guicaizhici avatar guicaizhici commented on May 27, 2024

好的解决了谢谢!

from qi-api.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.