Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Test and Performance Tools Platform (TPTP) » NoClassDefFoundError when running tests
NoClassDefFoundError when running tests [message #111030] Fri, 31 August 2007 18:05 Go to next message
Eclipse UserFriend
Originally posted by: dkador.salesforce.com

Hi All,

I've been trying to get a headless build of my plug-in tests running
and I've hit a snag. I believe I have most things set up correctly,
but when I attempt to start up the run, I eventually see that Eclipse
is launched and immediately closes. I'm getting a
NoClassDefFoundError on a class inside my plug-in (I have two plug-ins
- one is the main one andthe other is a test one). This doesn't make
sense to me, because if
I launch the eclipse instance that the build creates, I can see that
themain plug-in is installed and in fact works correctly.

Does anybody have any suggestions on what I need to do to get Eclipse
torealize that those classes are actually available to the tests?

Thanks,
Dan


--

I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
Re: NoClassDefFoundError when running tests [message #112618 is a reply to message #111030] Wed, 19 September 2007 11:52 Go to previous message
Paul Slauenwhite is currently offline Paul SlauenwhiteFriend
Messages: 975
Registered: July 2009
Senior Member
Hi Daniel,
Are you running TPTP JUnit Plug-in tests? Also, are you using the
Automateable Services Framework (ASF) to run your tests?

For more information on test deployments, see:

http://help.eclipse.org/help33/topic/org.eclipse.hyades.test .doc.user/ref/rdeploymentGroundRules.htm


Paul
"Daniel Kador" <dkador@salesforce.com> wrote in message
news:nemoFri083107110118@news.eclipse.org...
> Hi All,
>
> I've been trying to get a headless build of my plug-in tests running
> and I've hit a snag. I believe I have most things set up correctly,
> but when I attempt to start up the run, I eventually see that Eclipse
> is launched and immediately closes. I'm getting a
> NoClassDefFoundError on a class inside my plug-in (I have two plug-ins
> - one is the main one andthe other is a test one). This doesn't make
> sense to me, because if
> I launch the eclipse instance that the build creates, I can see that
> themain plug-in is installed and in fact works correctly.
>
> Does anybody have any suggestions on what I need to do to get Eclipse
> torealize that those classes are actually available to the tests?
>
> Thanks,
> Dan
>
> --
> I'm trying a new usenet client for Mac, Nemo OS X.
> You can download it at http://www.malcom-mac.com/nemo
>
Previous Topic:Reference ids change when the AUT code is changed
Next Topic:Can JUnit Plugin tests be profiled?
Goto Forum:
  


Current Time: Thu Apr 18 01:29:55 GMT 2024

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

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

Back to the top