Code:
16:16:16,125 DEBUG SimpleOsgiTest:208 - Looking for Spring/OSGi powered bundles to wait for...
16:16:16,140 DEBUG SimpleOsgiTest:377 - Caught exception starting up
java.lang.IllegalArgumentException: no OSGi service reference found at org.springframework.osgi.test.JUnitTestActivator
at org.springframework.util.Assert.notNull(Assert.java:112)
at org.springframework.osgi.test.AbstractOsgiTests.initializeServiceRunnerInvocationMethods(AbstractOsgiTests.java:423)
at org.springframework.osgi.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:264)
at org.springframework.osgi.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:374)
at org.springframework.osgi.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:203)
at org.springframework.osgi.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:184)
at junit.framework.TestResult.runProtected(TestResult.java:128)
at org.springframework.osgi.test.AbstractOsgiTests.run(AbstractOsgiTests.java:181)
at junit.framework.TestSuite.runTest(TestSuite.java:232)
at junit.framework.TestSuite.run(TestSuite.java:227)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:81)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
16:16:16,156 INFO SimpleOsgiTest:491 - Shutting down OSGi platform
This means some problems with running Junit activator.
Code:
"org.aopalliance, com.springsource.org.aopalliance, 1.0.0",
"org.objectweb.asm, com.springsource.org.objectweb.asm, 2.2.3",
"org.junit, com.springsource.junit, 3.8.2",
"org.slf4j, com.springsource.slf4j.api, 1.5.0",
"org.slf4j, com.springsource.slf4j.log4j, 1.5.0",
"org.slf4j, com.springsource.slf4j.jcl, 1.5.6",
"org.slf4j, com.springsource.slf4j.org.apache.commons.logging, 1.5.0",
"org.springframework, org.springframework.aop, 2.5.5.A",
"org.springframework, org.springframework.beans, 2.5.5.A",
"org.springframework, org.springframework.context, 2.5.5.A",
"org.springframework, org.springframework.core, 2.5.5.A",
"org.springframework, org.springframework.test, 2.5.5.A",
"org.springframework.osgi,log4j.osgi,1.2.15-SNAPSHOT",
"org.springframework.osgi,spring-osgi-annotation,1.0",
"org.springframework.osgi, org.springframework.osgi.extender, 1.1.2.B",
"org.springframework.osgi, org.springframework.osgi.core, 1.1.2.B",
"org.springframework.osgi, org.springframework.osgi.io, 1.1.2.B",
"org.springframework.osgi, org.springframework.osgi.test, 1.1.2.B",
BWT, has somebody simple workable example for running these tests?