Results 1 to 2 of 2

Thread: Spring Social Scala 2.10

  1. #1
    Join Date
    Mar 2013
    Posts
    5

    Unhappy Spring Social Scala 2.10

    I am building a scala application.

    I am using the following dependencies with scala 2.9 and they work ok:

    "org.springframework.social" % "spring-social-core" % "1.0.2.RELEASE",
    "org.springframework.social" % "spring-social-twitter" % "1.0.3.RELEASE",

    When I am switching to scala 2.10 i get:

    Starting Akka...
    Running Akka 2.0.5
    Exception in thread "main" java.lang.NoClassDefFoundError: scala/reflect/ClassManifest$
    at akka.kernel.Main$.loadDeployJars(Main.scala:112)
    at akka.kernel.Main$.createClassLoader(Main.scala:98)
    at akka.kernel.Main$.main(Main.scala:76)
    at akka.kernel.Main.main(Main.scala)
    Caused by: java.lang.ClassNotFoundException: scala.reflect.ClassManifest$
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)

    Are these libraries build against 2.10?

  2. #2
    Join Date
    Aug 2004
    Posts
    1,070

    Default

    It's awesome to hear that you're building a Scala application that uses Spring Social. You're probably not the first to do this, but you are certainly the first I've heard of.

    To answer your question, Spring Social has not been built nor tested against any version of Scala. Although it'd be great to know that it works with Scala, Scala-compatibility isn't really a high priority for the project at this time. But if there's anyone in the community who has had success working with Spring Social and Scala, then I'd love to hear about it.

    Looking at your stack trace, I don't see any evidence that the exception you get has anything to do with Spring Social. It might, but there's nothing in that stack trace that tells me that. What makes you think that Spring Social is the issue?
    Craig Walls
    Spring Social Project Lead

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •