Tagged Questions
1
vote
1answer
118 views
android + scala + preinstalled scala libraries + disabled proguard throws ClassNotFoundException
Final purpose of this feat: Use android device for development by fast compiling without needing to use proguard each single time (which causes huge delays)
First try is on Sony Ericsson Xperia Mini ...
0
votes
1answer
111 views
Cannot get Scala to run
I've tried on two separate occasions to get Scala installed on my MacBook Air and have run into the same problem both times.
The first stime I installed scala, I moved all the appropriate files into ...
1
vote
0answers
360 views
Why do I get java.lang.NoClassDefFoundError when I trying to run this code?
I want to map over the characters in a string, but I'm getting runtime errors.
Example:
object Hello {
def hello(c: Char) {
print(c)
}
def main(args: Array[String]) {
...
0
votes
0answers
187 views
shark/spark throws NPE when querying a table
The development part of shark/spark wiki is really brief, so I tried to put together a code in an effort to programmatically query a table. Here it is ...
object Test extends App {
val master = ...
0
votes
1answer
135 views
ClassNotFoundException when reading object
I'm trying to read a scala object(the type is Seq[(Seq[DenseMatrix[Double]], DenseMatrix[Double])]) from a file, I have the classes in my classpath, but I still get a mysterious ...
2
votes
1answer
169 views
Pig-Scala UDF exception- ScalaObject not found
I have a scala .class file that I convert to a jar and try to register to a pig script. It is able to find that class now BUT it throws a ClassNotFoundException for scala.ScalaObject.
I notice that ...
1
vote
2answers
369 views
Scala on Android with IntelliJ Idea ClassNotFoundException
I tried using sbt and maven for android-scala and I quite like maven for doing the whole release thing(ProGuard-ing the scala standar lib etc). But I want lightweight recompile cycle for development ...
2
votes
1answer
362 views
Yet another “Unable to instantiate activity ComponentInfo” with Scala
I'm trying to create and test a simple dummy Android application written in Scala without the ProGuard step (useProguard := false).
I have pushed scala library to the /system/framework:
...
1
vote
1answer
337 views
ClassNotFoundException on Marshal.load
I'm trying to do a marshal dump and load in Scala...
import scala.util.Marshal
case class Test(test: String)
val t = Test("hello")
val bytes = Marshal.dump(t)
Marshal.load[Test](bytes)
...but the ...