Hi,
I am trying to test an OSGi service that exposes code that is easily
consumable from Scala. Consequently, I want to write my unit tests in
Scala.
When I run them, I get the following:
-------------------------------------------------------------------------------
Test set: itests.ServiceTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.181
sec <<< FAILURE!
testServiceInfo(itests.ServiceTest) Time elapsed: 1.162 sec <<< ERROR!
java.lang.NoClassDefFoundError: scala/ScalaObject
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
I am loading scala-library.jar via the @Configuration/options
mechanism, but I'm guessing this Scala dependency needs to be loaded
earlier.
Any ideas on how to accomplish this? I'm looking into the
tinybundles-modify-the-probe thing now.
_______________________________________________
general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general