jdk9 10 11 12 13 14模块化升级The type com.sun.jndi.ldap.LdapCtxFactory is not accessible
点击次数:更新时间:2020-06-22 16:06:04【打印】【关闭】
rhstuido在升级过程中遇到问题总结如下: 1.为代码添加模块化功能 在Eclipse的项目上右键项目--》configure-》Create modular-info.jar 2.遇到错误The type com.sun.jndi.ldap.LdapCtxFactory is not accessible: 1.在eclipse中找到项目的构建路径菜单 点击《库》标签设置Modularpath 2.在Modularpath选项下面找到is modular 双击进入设置。 3.点击《detail》标签添加需要从java类库中导出的jdk类包名 |