Scala 2.10 - NoClassDefFoundError: scala/reflect/ClassManifest$

309 views
Skip to first unread message

Eishay Smith

unread,
Dec 10, 2012, 12:59:31 AM12/10/12
to circumfl...@googlegroups.com
Hi,

We're using circumflex ORM with Play2 and we're moving our application to use Scala 2.10 (RC).
Now we're getting the following exception:
java.lang.NoClassDefFoundError: scala/reflect/ClassManifest$
at ru.circumflex.orm.Relation$class.findMembers(relation.scala:142)
I tried to compile circumflex 2.5 against scala 2.10.0-M7 and got a similar problem:
-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running ru.circumflex.core.CircumflexCoreSpecs
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.29 sec <<< FAILURE!

Results :

Tests in error: 
  initializationError(ru.circumflex.core.CircumflexCoreSpecs): scala/reflect/ClassManifest

Tests run: 1, Failures: 0, Errors: 1, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Circumflex ........................................ SUCCESS [0.415s]
[INFO] Circumflex Core ................................... FAILURE [1:01.127s]
[INFO] Circumflex Cache .................................. SKIPPED
[INFO] Circumflex ORM Framework .......................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

Any ideas why and how I can fix it?
Would you have a circumflex scala 2.10 binary?

Thanks,
Eishay

Boris Okunskiy

unread,
Dec 10, 2012, 3:24:41 AM12/10/12
to circumfl...@googlegroups.com
Greetings, Eishay,

We usually wait until guys from EPFL throw out the GA release of Scala and then provide a corresponding release of Circumflex (actually, we are not huge fans of cross-builds, nor do we like milestones and release candidates in production).

As far as I am concerned, Scala 2.10 would include Scala reflection API, but I didn't dig into it yet. Unfortunately, so far I have no idea on how to fix this in a quick way.

Best regards,
Boris Okunskiy
Chief Software Architect
EduArea LLC / SAVANT.PRO
http://savant.pro

-- Soit le meilleur dans ce que tu feras.
Reply all
Reply to author
Forward
0 new messages