包com.sun.net.ssl.internal.ssl不可见

时间:2019-07-26 07:00:54

标签: java ssl maven-3 java-11 jsse

在将项目从Java 8迁移到11时,在使用maven进行构建时面临以下问题:

<schema schemaNamespace="http://ws.apache.org/axis2/" />

我尝试将Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile (default-compile) on project cards: Compilation failure /c:/../xyz. java package com.sun.net.ssl.internal.ssl is not visible (package com. sun. net. ssl. internal. ssl is declared in module java.base, which does not export it) 更改为java_home

jdk_11

0 个答案:

没有答案