Hi,
I’m trying to build 0.7.3 release of zeppeling on a Centos 7 box. I have /opt/scala and /opt/spark setup and their bin directories in my path. (scala 2.11.11 and spark 2.1.1) I’m trying to build a basic release ‘mvn clean package -DskipTests’ to start… I’m running in to the following error: [ERROR] /opt/zeppelin-0.7.3/zeppelin-display/src/main/scala/org/apache/zeppelin/display/angular/AbstractAngularElem.scala:25: error: object xml is not a member of package scala [INFO] import scala.xml._ [INFO] ^ This occurs when trying to build the GUI. Any suggestions? Thx -Mike |
Hi Micheal,
have you tried to run `./dev/change_scala_version.sh 2.11` and add `-Pscala-2.11` profile to mvn command? When you build Zeppelin, maven doesn't use the scala version that is pre-installed on your machine, but it downloads scala version that is specified in active profile. You will need to add `-Pscala-2.11` in mvn command to activate scala 2.11 since we use scala-2.10 by default. You can find build command examples in Zeppelin website [1], hope this helps. Cheers, Mina On Tue, Oct 17, 2017 at 1:40 AM Michael Segel <[hidden email]> wrote: Hi, |
Yeah that did it. Now dying with an error about Flink.
[ERROR] Failed to execute goal net.alchim31.maven:scala-maven-plugin:3.2.2:compile (scala-compile-first) on project zeppelin-flink_2.11: wrap: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Could not find artifact org.scalamacros:paradise_2.11.11:jar:2.0.1
in central (https://repo.maven.apache.org/maven2)
I figured it was user error…
Having said that… I’m not sure why 7.3 isn’t defaulting to Scala 2.11 like everything else.
Thx
|
Free forum by Nabble | Edit this page |