Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Run/Debug launch of SWTBot Test fails(Unable to Run/Debug due to required plug-in 'org.eclipse.pde.junit.runtime' which is missing.)
Run/Debug launch of SWTBot Test fails [message #1123700] Wed, 02 October 2013 20:57 Go to next message
Andy None is currently offline Andy NoneFriend
Messages: 3
Registered: October 2013
Junior Member
Is anyone having an issue where error message "Required plug-in 'org.eclipse.pde.junit.runtime' could not be found." is being displayed when trying to Run/Debug a SWTBot Test? I've seen this using Kepler 4.3 and Indigo 3.7.2.

I can't seem to get past this issue. Any help would be appreciated. This question has been asked before, but there no answer that works. Search stackoverflow.com for "required-plug-in-org-eclipse-pde-junit-runtime-could-not-be-found".
Re: Run/Debug launch of SWTBot Test fails [message #1124214 is a reply to message #1123700] Thu, 03 October 2013 09:47 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

On 10/02/2013 11:08 PM, Andy None wrote:
> Is anyone having an issue where error message "Required plug-in
> 'org.eclipse.pde.junit.runtime' could not be found." is being displayed
> when trying to Run/Debug a SWTBot Test? I've seen this using Kepler 4.3
> and Indigo 3.7.2.

Which version of SWTBot are you using? How did you install it?

Also where do you get this error message? In logs of IDE, in logs of
runtime application, in UI...?
It looks like you target-platform configuration is missing something. If
you go in Debug Configurations, look for this debug config, go in tab
"Plugins" you'll see a "Validate Plugins" button. Click it and check
whether it tells you what you're missing.



--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Run/Debug launch of SWTBot Test fails [message #1124435 is a reply to message #1124214] Thu, 03 October 2013 14:32 Go to previous messageGo to next message
Andy None is currently offline Andy NoneFriend
Messages: 3
Registered: October 2013
Junior Member
I installed SWTBot version 2.1.1.201307101628 from the update site SWTBot - http://download.eclipse.org/technology/swtbot/releases/latest/.

I get the error message when I press the Debug icon in Eclipse. After that, a popup appears immediatly which says:

'Launching MyFirstTest' has encountered a problem.

Required plug-in 'org.eclipse.pde.junit.runtime' could not be found.


When I go into Debug Configurations->Plug-ins tab, and click on Validate Plug-ins, the following problems are detected:
- org.apache.xmlrpc
  - Missing Constraint: Import-Package: javax.xml.bind; version="0.0.0"


I've attached the Eclipse error log and my configuration. Thanks for you help.
  • Attachment: log
    (Size: 0.82KB, Downloaded 271 times)
  • Attachment: configuration.txt
    (Size: 445.75KB, Downloaded 1147 times)
Re: Run/Debug launch of SWTBot Test fails [message #1125141 is a reply to message #1124435] Fri, 04 October 2013 07:39 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
Registered: July 2009
Location: Grenoble, France
Senior Member

It looks like the issue is not in your Test configuration, but rather in
your IDE. Can you see the "org.eclipse.pde.junit.runtime" plugin
installed in your IDE? Does "Run as Plugin Test" command work?

--
Mickael Istria
My job: http://www.jboss.org/tools
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Run/Debug launch of SWTBot Test fails [message #1129608 is a reply to message #1125141] Tue, 08 October 2013 20:30 Go to previous messageGo to next message
Andy None is currently offline Andy NoneFriend
Messages: 3
Registered: October 2013
Junior Member
The plugin "org.eclipse.pde.junit.runtime" is not installed in the IDE. I could not find it in the plgins directory under Eclipse.

Running the test as a Junit plug-in test or as a SWTBot test result in the same error message, "Required plug-in 'org.eclipse.pde.junit.runtime' could not be found".
Re: Run/Debug launch of SWTBot Test fails [message #1148554 is a reply to message #1129608] Mon, 21 October 2013 15:42 Go to previous message
imad sabaany is currently offline imad sabaanyFriend
Messages: 17
Registered: August 2013
Junior Member
Hi,
I work with this Eclipse:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/keplersr1
I think you just need to download swtbot from the
http://download.eclipse.org/technology/swtbot/releases/latest/
and it's suppose to work.
Previous Topic:Warnings on SWTBot tests
Next Topic:org.eclipse.swt.SWTException: Failed to execute runnable
Goto Forum:
  


Current Time: Tue Apr 23 07:41:51 GMT 2024

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

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

Back to the top