Announcement Announcement Module
No announcement yet.
Spring Social Scala 2.10 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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:

    "" % "spring-social-core" % "1.0.2.RELEASE",
    "" % "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$ 202)
    at Method)
    at ava:190)
    at java.lang.ClassLoader.loadClass( 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche
    at java.lang.ClassLoader.loadClass( 47)

    Are these libraries build against 2.10?

  • #2
    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?