Error compiling maven kotlin-example with version 1.2.30
hectorlicea opened this issue · 1 comments
Hi:
I try compile maven kotlin example with version 1.2.30 and maven-kotlin-plugin fail. This is the trace:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.jetbrains.kotlin:kotlin-maven-plugin:1.2.30:compile (compile) on project hello-world: Execution compile of goal org.jetbrains.kotlin:kotlin-maven-plugin:1.2.30:compile failed: A required class was missing while executing org.jetbrains.kotlin:kotlin-maven-plugin:1.2.30:compile: org/jetbrains/kotlin/cli/common/arguments/CommonToolArguments
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>org.jetbrains.kotlin:kotlin-maven-plugin:1.2.30
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/home/hlicea/.m2/repository/org/jetbrains/kotlin/kotlin-maven-plugin/1.2.30/kotlin-maven-plugin-1.2.30.jar
[ERROR] urls[1] = file:/home/hlicea/.m2/repository/org/sonatype/aether/aether-util/1.13.1/aether-util-1.13.1.jar
[ERROR] urls[2] = file:/home/hlicea/.m2/repository/org/sonatype/sisu/sisu-inject-bean/2.3.0/sisu-inject-bean-2.3.0.jar
[ERROR] urls[3] = file:/home/hlicea/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar
[ERROR] urls[4] = file:/home/hlicea/.m2/repository/org/sonatype/sisu/sisu-guava/0.9.9/sisu-guava-0.9.9.jar
[ERROR] urls[5] = file:/home/hlicea/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
[ERROR] urls[6] = file:/home/hlicea/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.6/plexus-utils-2.0.6.jar
[ERROR] urls[7] = file:/home/hlicea/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[8] = file:/home/hlicea/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[9] = file:/home/hlicea/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[10] = file:/home/hlicea/.m2/repository/org/apache/maven/plugin-tools/maven-plugin-annotations/3.4/maven-plugin-annotations-3.4.jar
[ERROR] urls[11] = file:/home/hlicea/.m2/repository/org/jetbrains/kotlin/kotlin-compiler/1.2.30/kotlin-compiler-1.2.30.jar
[ERROR] urls[12] = file:/home/hlicea/.m2/repository/org/jetbrains/kotlin/kotlin-stdlib/1.2.30/kotlin-stdlib-1.2.30.jar
[ERROR] urls[13] = file:/home/hlicea/.m2/repository/org/jetbrains/annotations/13.0/annotations-13.0.jar
[ERROR] urls[14] = file:/home/hlicea/.m2/repository/org/jetbrains/kotlin/kotlin-script-runtime/1.2.30/kotlin-script-runtime-1.2.30.jar
[ERROR] urls[15] = file:/home/hlicea/.m2/repository/org/jetbrains/kotlin/kotlin-reflect/1.2.30/kotlin-reflect-1.2.30.jar
[ERROR] urls[16] = file:/home/hlicea/.m2/repository/org/apache/maven/plugins/maven-compiler-plugin/3.5.1/maven-compiler-plugin-3.5.1.jar
[ERROR] urls[17] = file:/home/hlicea/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.0.0/maven-shared-utils-3.0.0.jar
[ERROR] urls[18] = file:/home/hlicea/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar
[ERROR] urls[19] = file:/home/hlicea/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
[ERROR] urls[20] = file:/home/hlicea/.m2/repository/org/apache/maven/shared/maven-shared-incremental/1.1/maven-shared-incremental-1.1.jar
[ERROR] urls[21] = file:/home/hlicea/.m2/repository/org/codehaus/plexus/plexus-compiler-api/2.7/plexus-compiler-api-2.7.jar
[ERROR] urls[22] = file:/home/hlicea/.m2/repository/org/codehaus/plexus/plexus-compiler-manager/2.7/plexus-compiler-manager-2.7.jar
[ERROR] urls[23] = file:/home/hlicea/.m2/repository/org/codehaus/plexus/plexus-compiler-javac/2.7/plexus-compiler-javac-2.7.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------: org.jetbrains.kotlin.cli.common.arguments.CommonToolArguments
I'm sorry. I had a corrupt dependencies. I recompiled again and all ok.
Thank you very much for your attention.
HLicea