Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » JUnit plugin test fails trying to load part of HTTP Client within Eclipse plugin
JUnit plugin test fails trying to load part of HTTP Client within Eclipse plugin [message #14622] Wed, 30 July 2008 15:21
Neale Upstone is currently offline Neale UpstoneFriend
Messages: 50
Registered: July 2009
Member
Hi,

I'm trying to get some tests up and running, but the Headless app hangs
with the following logged to it's log.

Does anyone know why JUnit is trying to load HttpClient classes?

Cheers,

Neale


SESSION 2008-07-30 16:10:06.828
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.6.0_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments: -version 3 -port 2167 -testLoaderClass
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader
-loaderpluginname org.eclipse.jdt.junit4.runtime -classNames
com.x.TestAtomProperty -application
org.eclipse.pde.junit.runtime.coretestapplication -testpluginname com.x.atom
Command-line arguments: -os win32 -ws win32 -arch x86 -version 3 -port
2167 -testLoaderClass
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader
-loaderpluginname org.eclipse.jdt.junit4.runtime -classNames com.x
-application org.eclipse.pde.junit.runtime.coretestapplication -data
C:\dev\workspace/../junit-workspace -dev
file:C:/dev/workspace/.metadata/.plugins/org.eclipse.pde.cor e/pde-junit/dev.properties
-os win32 -ws win32 -arch x86 -testpluginname com.x.atom

!ENTRY org.eclipse.osgi 4 0 2008-07-30 16:10:13.328
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError:
org/apache/commons/httpclient/methods/RequestEntity
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod(Class.java:1603)
at
org.junit.internal.requests.ClassRequest.hasSuiteMethod(Clas sRequest.java:62)
at
org.junit.internal.requests.ClassRequest.getRunnerClass(Clas sRequest.java:50)
at org.junit.internal.requests.ClassRequest.getRunner(ClassRequ est.java:28)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.<init >(JUnit4TestReference.java:28)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestClassRefere nce. <init>(JUnit4TestClassReference.java:24)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.crea teTest(JUnit4TestLoader.java:40)
at
org.eclipse.jdt.internal.junit4.runner.JUnit4TestLoader.load Tests(JUnit4TestLoader.java:30)
Previous Topic:Obtain Information from the JavaEditor
Next Topic:JUnit plugin test fails trying to load part of HTTP Client within Eclipse plugin
Goto Forum:
  


Current Time: Wed Sep 25 17:54:24 GMT 2024

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

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

Back to the top