Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EGit / JGit » import from git...project not working anymore
import from git...project not working anymore [message #1520986] Sun, 21 December 2014 14:28 Go to next message
thorsten meier is currently offline thorsten meierFriend
Messages: 3
Registered: November 2014
Junior Member

ive pushed a project to git including .classpath and .project files on a linux box.
on my windows machine i imported it, but even after adding the external jars again so that it can run i get:

java.lang.NoClassDefFoundError: org/powermock/reflect/internal/WhiteboxImpl
	at org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup.createNewSubstituteMock(
	at org.powermock.api.mockito.internal.expectation.DefaultConstructorExpectationSetup.withArguments(
	at org.apache.hadoop.mrunit.TestDriver.runTest(
	at org.apache.hadoop.mrunit.TestDriver.runTest(
	at ncdc.MinMedMaxProfileTest.testReducer(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(
	at org.junit.internal.runners.statements.RunBefores.evaluate(
	at org.junit.runners.ParentRunner.runLeaf(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(
	at org.junit.runners.ParentRunner$
	at org.junit.runners.ParentRunner$1.schedule(
	at org.junit.runners.ParentRunner.runChildren(
	at org.junit.runners.ParentRunner.access$000(
	at org.junit.runners.ParentRunner$2.evaluate(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(
Caused by: java.lang.ClassNotFoundException: org.powermock.reflect.internal.WhiteboxImpl
	at$ Source)
	at$ Source)
	at Method)
	at Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 30 more

ive tried:
project -> clean

what is this?
Re: import from git...project not working anymore [message #1565669 is a reply to message #1520986] Thu, 15 January 2015 12:11 Go to previous message
Matthias Sohn is currently offline Matthias SohnFriend
Messages: 1138
Registered: July 2009
Senior Member
I do not understand how this stack trace relates to JGit or EGit
Previous Topic:S3 Jgit IAM Credentials
Next Topic:How to avoid eclipse setting files while git rebase?
Goto Forum:

Current Time: Thu May 28 12:57:45 GMT 2020

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

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

Back to the top