Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » SVN Checked Out Maven Project can't run JUnit Tests
SVN Checked Out Maven Project can't run JUnit Tests [message #1792262] Fri, 13 July 2018 16:05
Matthew Lancaster is currently offline Matthew LancasterFriend
Messages: 1
Registered: July 2018
Junior Member
Hi Everyone,

I'm using the following:

- Eclipse Oxygen
- Subversion w/ Subversive Plugin
- Maven 3.3.9
- JUnit 4.4 is in the Maven Dependecies along with Mockito 1.9.5

I go to File -> New -> Other -> SVN -> Checkout projects from SVN for my new project.

Everything gets pulled down just fine and I'm able to build and compile perfectly.

I then create a test case within my Project and try to run it via Run As -> JUnit Test

When this happens I get the following Stack Trace:
java.lang.ClassNotFoundException:
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass(RemoteTestRunner.java:770)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses(RemoteTestRunner.java:499)
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:522)
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)

Has anyone ran into this problem?

[Updated on: Fri, 13 July 2018 19:23]

Report message to a moderator

Previous Topic:Find & Replace?
Next Topic:Photon crashes immediately after installation
Goto Forum:
  


Current Time: Mon Oct 22 03:32:04 GMT 2018

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

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

Back to the top