You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Michael Segel <ms...@hotmail.com> on 2017/10/16 16:39:58 UTC
Trying to build Zeppelin, hitting the following error
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
Re: Trying to build Zeppelin, hitting the following error
Posted by Michael Segel <ms...@hotmail.com>.
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
On Oct 16, 2017, at 11:41 PM, Mina Lee <mi...@apache.org>> wrote:
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
[1] https://zeppelin.apache.org/docs/latest/install/build.html#build-command-examples
On Tue, Oct 17, 2017 at 1:40 AM Michael Segel <ms...@hotmail.com>> wrote:
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
Re: Trying to build Zeppelin, hitting the following error
Posted by Mina Lee <mi...@apache.org>.
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
[1]
https://zeppelin.apache.org/docs/latest/install/build.html#build-command-examples
On Tue, Oct 17, 2017 at 1:40 AM Michael Segel <ms...@hotmail.com>
wrote:
> 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
>
>