Skip to main content

Questions tagged [scala]

Scala is a general purpose programming language principally targeting the Java Virtual Machine. Designed to express common programming patterns in a concise, elegant, and type-safe way, it fuses both imperative and functional programming styles. Questions about programming and software development using Scala are off topic and should be asked on stackoverflow.com.

1 vote
0 answers
147 views

SSH connection dropping immediately after authentication in Ammonite sshd

I realize this question (or similar ones) have been asked elsewhere, but the solutions haven't worked for me. I'm trying to use ammonite in a scala/java project locally and start the SSH server with ...
Jacob Bennett's user avatar
0 votes
1 answer
103 views

mapping two case classes in scala on Lagom

I am a beginner with scala/Lagom, can someone help me with the following issue : I am trying to creat an Api for fields of products, in order to do that : I need to map case classes extending to a ...
Reda Arté Kejji's user avatar
0 votes
1 answer
5k views

Spark - Failed to find data source: avro

When I run spark submit I have the following error: Exception in thread "main" org.apache.spark.sql.AnalysisException: Failed to find data source: avro. Avro is built-in but external data ...
Looper's user avatar
  • 1
1 vote
0 answers
588 views

IIssue while loading plugin sbt-assembly in SBT Version 1.2.8

I'm having trouble to install assembly plugin in my sbt 1.2.8 tool. I have added below configuration in my sbt setting file. site.sbt: addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.3") ...
Gaurav Jain's user avatar
0 votes
0 answers
706 views

Powershell doesn't seem to get proper escaped path from $env:path

Every time I try to execute from Powershell a command that is located in my Program Files folder (e.g. 'scala') I get this output: PS C:\> scala the term (x86) was not recognized as a cmdlet, ...
Sceptwo's user avatar
0 votes
1 answer
484 views

How do I run scala sbt behind a zsacaler proxy (zscloud)

My company recently used new security software from zscaler to secure internet traffic. From my basic understanding, what it does is: It takes all encrypted SSL internet connections and looks into it ...
Michael W.'s user avatar
39 votes
1 answer
123k views

remove package installed by brew

Package name : sbt Path : /usr/local/cellar/sbt what I have try : sudo rmdir sbt -i on my terminal but get "rmdir: sbt: Directory not empty"
william's user avatar
  • 393
-1 votes
1 answer
64 views

Need guidance starting node js / scala app

I have installed yum/apt-get installed scala, "node install" installed gulp, but cannot find how to run it for dev mode. I have started a number of node applications in the past. I am trying to ...
Zodzie's user avatar
  • 103
1 vote
0 answers
810 views

Spark standalone running job error

Have been stuck on this error for a few days, desperately need help. So with standalone deploying mode, I am trying to run sample jobs, yet no matter how simple the job is (even starting spark-shell ...
bcxuezhe39's user avatar
3 votes
0 answers
733 views

Idea IntelliJ : Compile & Run Scala REPL in remote machine

I am developing a Scala application on my remote machine ( It doesnot support GUI ) I need to use IntelliJ IDEA to write my code . Can you suggest me the best way to write my code in local machine ( ...
Ronak Agrawal's user avatar
21 votes
1 answer
5k views

Why does the ">" command in a Windows console not redirect all messages to a file?

I am trying to build a Scala project with sbt, so I run a command: sbt clean test > log.log Which means that any messages that the sbt tool writes to the Windows console should be written to the "...
Cherry's user avatar
  • 950
0 votes
0 answers
85 views

error running scala installer on windows

I am trying to use the scala 2.11.2 msi installer (downloaded from the scala site) on windows 7 professional (64 bit). However, I get the following error when launching the installer: This ...
ali haider's user avatar
1 vote
1 answer
726 views

IntelliJ Idea debugging expression evaluation

I'm using IntelliJ idea Community edition (with Scala) and I'm trying to evaluate an expression. I hit Alt-F8 to open it in debug mode and then switch to 'Code Fragment Mode'. However, I'm allowed to ...
0fnt's user avatar
  • 1,941
3 votes
1 answer
3k views

How to add CLASSPATH parameters permanently when using sudo?

On Ubuntu 12.04.2 LTS 64bits, when using sudo or sudo -i or sudo su or even su in a session, in order to use both Java AND Scala I need to enter the following commands: sudo -i CLASSPATH=$CLASSPATH:/...
Fnux's user avatar
  • 145
0 votes
2 answers
108 views

Log total time a linux command (compiler) runs during a day

I'm interested in how long my machine spends compiling scala in an average workday. Is there some way to log the total runtime of the scalac command every time it is run, even if it is run by some ...
Ben Dilts's user avatar
  • 285

15 30 50 per page