关于运行 mvn clean install -e -X
对于克隆的存储库,我遇到以下编译失败
[错误]无法执行goal org.jetbrains。kotlin:kotlin-maven-plugin:1.3.21:在项目搜索服务上编译(compile):编译失败
[错误]~/src/main/kotlin/com/search/service/resources/search.kt:[9,53]符号在模块“java.xml”中声明,该模块不导出包“com.sun.org.apache.xpath.internal.operations”
[错误]->[帮助1]org.apache.maven.lifecycle.lifecycleexecutionexception:未能执行目标org.jetbrains。kotlin:kotlin-maven-plugin:1.3.21:在项目搜索服务上编译(compile):编译失败~/src/main/kotlin/com/udaan/search/service/resources/search.kt:[9,53]符号在模块“java.xml”中声明,该模块不导出包“com.sun.org.apache.xpath.internal.operations”
我是唯一一个面对这个问题的人,对于其他人来说建造是成功的。
mvn -v
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /usr/local/Cellar/maven/3.6.3_1/libexec
Java version: 15.0.1, vendor: N/A, runtime: /usr/local/Cellar/openjdk/15.0.1/libexec/openjdk.jdk/Contents/Home
Default locale: en_IN, platform encoding: UTF-8
OS name: "mac os x", version: "10.15.4", arch: "x86_64", family: "mac"
暂无答案!
目前还没有任何答案,快来回答吧!