Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to make field protected final java.nio.channels.ReadableByteChannel sun.nio.ch.ChannelInputStream.ch accessible: module java.base does not "opens sun.nio.ch" to unnamed module #425

Open
ninggf opened this issue Jul 26, 2024 · 0 comments

Comments

@ninggf
Copy link

ninggf commented Jul 26, 2024

jbrsdk-17.0.10-windows-x64-b1207.6 AND jbrsdk_jcef-21.0.3-windows-x64-b509.4

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make field protected final java.nio.channels.ReadableByteChannel sun.nio.ch.ChannelInputStream.ch accessible: module java.base does not "opens sun.nio.ch" to unnamed module @57c758ac
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
at org.hotswap.agent.util.ReflectionHelper.get(ReflectionHelper.java:150)
at org.hotswap.agent.util.IOUtils.extractFileNameFromInputStream(IOUtils.java:176)
at org.hotswap.agent.util.IOUtils.extractFileNameFromInputSource(IOUtils.java:220)
at org.apache.ibatis.parsing.XPathParser.createDocument(XPathParser.java)
at org.apache.ibatis.parsing.XPathParser.(XPathParser.java:127)
at com.baomidou.mybatisplus.core.MybatisXMLMapperBuilder.(MybatisXMLMapperBuilder.java:87)
at com.baomidou.mybatisplus.extension.spring.MybatisSqlSessionFactoryBean.buildSqlSessionFactory(MybatisSqlSessionFactoryBean.java:677)
... 56 common frames omitted

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant