Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » gemini.blueprint(problem with running junit)
gemini.blueprint [message #1793977] Tue, 21 August 2018 14:35
S Bhat is currently offline S BhatFriend
Messages: 1
Registered: August 2018
Junior Member
I need to JUnit a bundle that is a JaxRsResource. I am trying to use org.eclipse.gemini.blueprint.test.AbstractConfigurableBundleCreatorTests, i.e. my junit extends AbstractConfigurableBundleCreatorTests. (https://www.eclipse.org/gemini/blueprint/documentation/reference/1.0.2.RELEASE/html/testing.html)

I see the below error when I try to run my JUnit test. What gradle dependencies am I missing? Thanks in advance.

java.lang.NoClassDefFoundError: org/eclipse/core/runtime/adaptor/EclipseStarter
at org.eclipse.gemini.blueprint.test.platform.EquinoxPlatform.start(EquinoxPlatform.java:82)
at org.eclipse.gemini.blueprint.test.AbstractOsgiTests.startup(AbstractOsgiTests.java:218)
at org.eclipse.gemini.blueprint.test.AbstractOsgiTests.prepareTestExecution(AbstractOsgiTests.java:357)
at org.eclipse.gemini.blueprint.test.AbstractOsgiTests.runBare(AbstractOsgiTests.java:186)
at org.eclipse.gemini.blueprint.test.AbstractOsgiTests$1.protect(AbstractOsgiTests.java:169)
at junit.framework.TestResult.runProtected(TestResult.java:142)
at org.eclipse.gemini.blueprint.test.AbstractOsgiTests.run(AbstractOsgiTests.java:166)
at junit.framework.TestSuite.runTest(TestSuite.java:252)
at junit.framework.TestSuite.run(TestSuite.java:247)
at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:86)
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:86)
at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:538)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:760)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:460)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:206)
Caused by: java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 16 more

Previous Topic:Where are the server options on Eclipse Photon?
Next Topic:Plug-in Migration
Goto Forum:
  


Current Time: Wed Nov 14 13:23:05 GMT 2018

Powered by FUDForum. Page generated in 0.03055 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top