Wednesday 14 September 2011

Scala 2.9.1 Circumflex ORM 2.0.3

I just upgraded my Scala Eclipse plugin to Scala IDE 2.0.0-beta10 which ships with Scala 2.9.1.final.

When running my sample Circumflex ORM project I received this exception:
Exception
java.lang.NoSuchMethodError: scala.collection.mutable.Stack$.apply(Lscala/collection/Seq;)Lscala/collection/mutable/Stack;

Fixing it required me to recompile Circumflex against Scala 2.9.1.

I forked the project on GitHub and made the necessary amendments. I'm currently using the unstable 2.1 version. 

Clone and install the forked Circumflex version 2.1 to the local Maven repository
git clone git@github.com:tinoadams/circumflex.git
cd circumflex
git checkout master
mvn clean install

With the newly compiled Circumflex version in place you should now be able to build and run the sample application using the version 2.1 dependency:
		
<dependency>
	<groupId>ru.circumflex</groupId>
	<artifactId>circumflex-orm</artifactId>
	<version>2.1</version>
	<scope>provided</scope>
</dependency>

		

No comments:

Post a Comment