kylin-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guangxu Cheng (Jira)" <j...@apache.org>
Subject [jira] [Created] (KYLIN-4145) compile failed due to incompatible version between scala and scala-maven-plugin
Date Wed, 21 Aug 2019 05:06:00 GMT
Guangxu Cheng created KYLIN-4145:
------------------------------------

             Summary: compile failed due to incompatible version between scala and scala-maven-plugin
                 Key: KYLIN-4145
                 URL: https://issues.apache.org/jira/browse/KYLIN-4145
             Project: Kylin
          Issue Type: Bug
            Reporter: Guangxu Cheng
            Assignee: Guangxu Cheng


The version of scala-maven-plugin is not specified, and the latest version(4.1.1) will be
used when compiling the project, which is incompatible with the version of scala(2.11.0).

So, it would be better to specify the version number of scala-maven-plugin.
{code:xml}
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:4.1.1:compile (scala-compile-first)
on project kylin-engine-spark: Execution scala-compile-first of goal net.alchim31.maven:scala-maven-plugin:4.1.1:compile
failed: An API incompatibility was encountered while executing net.alchim31.maven:scala-maven-plugin:4.1.1:compile:
java.lang.NoSuchMethodError: xsbt.ZincCompiler.classPath()Lscala/tools/nsc/util/ClassFileLookup;
[ERROR] -----------------------------------------------------
[ERROR] realm =    plugin>net.alchim31.maven:scala-maven-plugin:4.1.1
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] = file:/Users/cheng/.m2/repository/net/alchim31/maven/scala-maven-plugin/4.1.1/scala-maven-plugin-4.1.1.jar
[ERROR] urls[1] = file:/Users/cheng/.m2/repository/org/apache/maven/maven-builder-support/3.3.9/maven-builder-support-3.3.9.jar
[ERROR] urls[2] = file:/Users/cheng/.m2/repository/com/google/guava/guava/18.0/guava-18.0.jar
[ERROR] urls[3] = file:/Users/cheng/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.21/plexus-interpolation-1.21.jar
[ERROR] urls[4] = file:/Users/cheng/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[5] = file:/Users/cheng/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.2/org.eclipse.sisu.inject-0.3.2.jar
[ERROR] urls[6] = file:/Users/cheng/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.6/plexus-component-annotations-1.6.jar
[ERROR] urls[7] = file:/Users/cheng/.m2/repository/org/apache/maven/reporting/maven-reporting-api/3.0/maven-reporting-api-3.0.jar
[ERROR] urls[8] = file:/Users/cheng/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
[ERROR] urls[9] = file:/Users/cheng/.m2/repository/com/google/inject/guice/4.0/guice-4.0-no_aop.jar
[ERROR] urls[10] = file:/Users/cheng/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[11] = file:/Users/cheng/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[12] = file:/Users/cheng/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[13] = file:/Users/cheng/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
[ERROR] urls[14] = file:/Users/cheng/.m2/repository/org/apache/maven/shared/maven-dependency-tree/3.0.1/maven-dependency-tree-3.0.1.jar
[ERROR] urls[15] = file:/Users/cheng/.m2/repository/org/apache/commons/commons-exec/1.3/commons-exec-1.3.jar
[ERROR] urls[16] = file:/Users/cheng/.m2/repository/org/codehaus/plexus/plexus-utils/3.2.1/plexus-utils-3.2.1.jar
[ERROR] urls[17] = file:/Users/cheng/.m2/repository/org/codehaus/plexus/plexus-archiver/4.1.0/plexus-archiver-4.1.0.jar
[ERROR] urls[18] = file:/Users/cheng/.m2/repository/org/codehaus/plexus/plexus-io/3.1.1/plexus-io-3.1.1.jar
[ERROR] urls[19] = file:/Users/cheng/.m2/repository/org/apache/commons/commons-compress/1.18/commons-compress-1.18.jar
[ERROR] urls[20] = file:/Users/cheng/.m2/repository/org/iq80/snappy/snappy/0.4/snappy-0.4.jar
[ERROR] urls[21] = file:/Users/cheng/.m2/repository/org/tukaani/xz/1.8/xz-1.8.jar
[ERROR] urls[22] = file:/Users/cheng/.m2/repository/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar
[ERROR] urls[23] = file:/Users/cheng/.m2/repository/junit/junit/3.8.1/junit-3.8.1.jar
[ERROR] urls[24] = file:/Users/cheng/.m2/repository/org/apache/maven/maven-archiver/3.4.0/maven-archiver-3.4.0.jar
[ERROR] urls[25] = file:/Users/cheng/.m2/repository/org/apache/maven/shared/maven-shared-utils/3.2.1/maven-shared-utils-3.2.1.jar
[ERROR] urls[26] = file:/Users/cheng/.m2/repository/commons-io/commons-io/2.5/commons-io-2.5.jar
[ERROR] urls[27] = file:/Users/cheng/.m2/repository/org/apache/maven/doxia/doxia-sink-api/1.9/doxia-sink-api-1.9.jar
[ERROR] urls[28] = file:/Users/cheng/.m2/repository/org/apache/maven/doxia/doxia-logging-api/1.9/doxia-logging-api-1.9.jar
[ERROR] urls[29] = file:/Users/cheng/.m2/repository/org/apache/maven/shared/maven-invoker/3.0.1/maven-invoker-3.0.1.jar
[ERROR] urls[30] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc_2.12/1.3.0-M8/zinc_2.12-1.3.0-M8.jar
[ERROR] urls[31] = file:/Users/cheng/.m2/repository/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar
[ERROR] urls[32] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc-core_2.12/1.3.0-M8/zinc-core_2.12-1.3.0-M8.jar
[ERROR] urls[33] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc-apiinfo_2.12/1.3.0-M8/zinc-apiinfo_2.12-1.3.0-M8.jar
[ERROR] urls[34] = file:/Users/cheng/.m2/repository/org/scala-sbt/compiler-bridge_2.12/1.3.0-M8/compiler-bridge_2.12-1.3.0-M8.jar
[ERROR] urls[35] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc-classpath_2.12/1.3.0-M8/zinc-classpath_2.12-1.3.0-M8.jar
[ERROR] urls[36] = file:/Users/cheng/.m2/repository/org/scala-lang/scala-compiler/2.12.8/scala-compiler-2.12.8.jar
[ERROR] urls[37] = file:/Users/cheng/.m2/repository/org/scala-sbt/compiler-interface/1.3.0-M8/compiler-interface-1.3.0-M8.jar
[ERROR] urls[38] = file:/Users/cheng/.m2/repository/org/scala-sbt/util-interface/1.3.0-M8/util-interface-1.3.0-M8.jar
[ERROR] urls[39] = file:/Users/cheng/.m2/repository/com/trueaccord/scalapb/scalapb-runtime_2.12/0.6.0/scalapb-runtime_2.12-0.6.0.jar
[ERROR] urls[40] = file:/Users/cheng/.m2/repository/com/trueaccord/lenses/lenses_2.12/0.4.12/lenses_2.12-0.4.12.jar
[ERROR] urls[41] = file:/Users/cheng/.m2/repository/com/lihaoyi/fastparse_2.12/0.4.2/fastparse_2.12-0.4.2.jar
[ERROR] urls[42] = file:/Users/cheng/.m2/repository/com/lihaoyi/fastparse-utils_2.12/0.4.2/fastparse-utils_2.12-0.4.2.jar
[ERROR] urls[43] = file:/Users/cheng/.m2/repository/com/lihaoyi/sourcecode_2.12/0.1.3/sourcecode_2.12-0.1.3.jar
[ERROR] urls[44] = file:/Users/cheng/.m2/repository/org/scala-sbt/io_2.12/1.3.0-M12/io_2.12-1.3.0-M12.jar
[ERROR] urls[45] = file:/Users/cheng/.m2/repository/com/swoval/file-tree-views/2.1.3/file-tree-views-2.1.3.jar
[ERROR] urls[46] = file:/Users/cheng/.m2/repository/net/java/dev/jna/jna/4.5.0/jna-4.5.0.jar
[ERROR] urls[47] = file:/Users/cheng/.m2/repository/net/java/dev/jna/jna-platform/4.5.0/jna-platform-4.5.0.jar
[ERROR] urls[48] = file:/Users/cheng/.m2/repository/org/scala-sbt/util-logging_2.12/1.3.0-M8/util-logging_2.12-1.3.0-M8.jar
[ERROR] urls[49] = file:/Users/cheng/.m2/repository/com/eed3si9n/sjson-new-core_2.12/0.8.3/sjson-new-core_2.12-0.8.3.jar
[ERROR] urls[50] = file:/Users/cheng/.m2/repository/jline/jline/2.14.6/jline-2.14.6.jar
[ERROR] urls[51] = file:/Users/cheng/.m2/repository/org/apache/logging/log4j/log4j-api/2.11.2/log4j-api-2.11.2.jar
[ERROR] urls[52] = file:/Users/cheng/.m2/repository/org/apache/logging/log4j/log4j-core/2.11.2/log4j-core-2.11.2.jar
[ERROR] urls[53] = file:/Users/cheng/.m2/repository/com/lmax/disruptor/3.4.2/disruptor-3.4.2.jar
[ERROR] urls[54] = file:/Users/cheng/.m2/repository/com/eed3si9n/sjson-new-scalajson_2.12/0.8.3/sjson-new-scalajson_2.12-0.8.3.jar
[ERROR] urls[55] = file:/Users/cheng/.m2/repository/com/eed3si9n/shaded-scalajson_2.12/1.0.0-M4/shaded-scalajson_2.12-1.0.0-M4.jar
[ERROR] urls[56] = file:/Users/cheng/.m2/repository/org/spire-math/jawn-parser_2.12/0.10.4/jawn-parser_2.12-0.10.4.jar
[ERROR] urls[57] = file:/Users/cheng/.m2/repository/org/scala-lang/scala-reflect/2.12.8/scala-reflect-2.12.8.jar
[ERROR] urls[58] = file:/Users/cheng/.m2/repository/org/scala-sbt/util-relation_2.12/1.3.0-M8/util-relation_2.12-1.3.0-M8.jar
[ERROR] urls[59] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc-persist_2.12/1.3.0-M8/zinc-persist_2.12-1.3.0-M8.jar
[ERROR] urls[60] = file:/Users/cheng/.m2/repository/org/scala-sbt/sbinary_2.12/0.4.4/sbinary_2.12-0.4.4.jar
[ERROR] urls[61] = file:/Users/cheng/.m2/repository/org/scala-lang/modules/scala-xml_2.12/1.0.5/scala-xml_2.12-1.0.5.jar
[ERROR] urls[62] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc-compile-core_2.12/1.3.0-M8/zinc-compile-core_2.12-1.3.0-M8.jar
[ERROR] urls[63] = file:/Users/cheng/.m2/repository/org/scala-sbt/launcher-interface/1.0.0/launcher-interface-1.0.0.jar
[ERROR] urls[64] = file:/Users/cheng/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.12/1.1.2/scala-parser-combinators_2.12-1.1.2.jar
[ERROR] urls[65] = file:/Users/cheng/.m2/repository/org/scala-sbt/util-control_2.12/1.3.0-M8/util-control_2.12-1.3.0-M8.jar
[ERROR] urls[66] = file:/Users/cheng/.m2/repository/org/scala-sbt/zinc-classfile_2.12/1.3.0-M8/zinc-classfile_2.12-1.3.0-M8.jar
[ERROR] urls[67] = file:/Users/cheng/.m2/repository/com/google/protobuf/protobuf-java/3.7.0/protobuf-java-3.7.0.jar
[ERROR] urls[68] = file:/Users/cheng/.m2/repository/org/scala-lang/modules/scala-java8-compat_2.12/0.9.0/scala-java8-compat_2.12-0.9.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import  from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------

{code}



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Mime
View raw message