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.

Filter by
Sorted by
Tagged with
0
votes
1answer
32 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 ...
0
votes
1answer
2k 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 ...
0
votes
0answers
993 views

Could not retrieve jansi 1.11

I downloaded intelliJ and the Scala plug in and created a new Scala SBT project. I am getting the following errors: Getting org.fusesource.jansi jansi 1.11 (this may take some time)... unresolved ...
1
vote
0answers
369 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") ...
0
votes
0answers
1k views

IntelliJ remote debugger connects, but breakpoints are not working for Scala jetty

I'm having no luck with breakpoints after having tried for more than a few hours, including getting "xsbt-web-plugin" installed, as per https://stackoverflow.com/questions/44232723/intellij-remote-...
0
votes
0answers
361 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, ...
0
votes
1answer
229 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 ...
39
votes
1answer
112k 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"
-1
votes
1answer
56 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 ...
1
vote
0answers
781 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 ...
3
votes
0answers
665 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 ( ...
21
votes
1answer
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 "...
0
votes
0answers
74 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 ...
1
vote
1answer
615 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 ...
3
votes
1answer
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:/...
0
votes
2answers
100 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 ...
1
vote
1answer
152 views

Scala REPL Crash

I've tried Scala on two computers. It works fine on a Windows Professional 64-Bit OS, but the REPL and scalac crash nastily on Windows Professional 32-Bit when running directly from the command line. ...
0
votes
1answer
969 views

TextMate Scala bundle

Scala and Textmate have been around for a while, but I wonder why there's no TM Scala Bundle here yet. Is there a usable one without a hard/uncommon installation process? The one which is as easy as ...
0
votes
2answers
1k views

What are software and hardware requirements for Scala language?

I was wondering, what software and hardware requirements are there to make Scala work correctly?
3
votes
1answer
664 views

Scala compiler _incredibly_ slow on Mac OS X 10.6

I recently tried to install scala and the Scala IDE plugin for Eclipse. Everything's working fine, except for that it takes over 5 seconds to compile a simple hello world program. At first I thought ...
13
votes
3answers
2k views

A rapid way to type funny characters from Scalaz?

Is there any easy and fast way to type the funny characters (like ⊛, ≟, ∘, ∨ etc) from Scalaz? (I am using Ubuntu 9.04)