在将项目从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