Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Problem running PDE JUnit tests
Problem running PDE JUnit tests [message #113051] Wed, 20 August 2003 09:53 Go to next message
Eclipse UserFriend
Originally posted by: yves.somewhere.com

I'm using 2.1.1 final.

When starting a TestCase subclass (part of a plugin) as Junit, I get an
error : "Could not resolve classpath container:
org.eclipse.pde.core.requiredPlugins".

What can be the cause of this ?

The complete stacktrace is :

org.eclipse.core.runtime.CoreException: Could not resolve classpath
container: org.eclipse.pde.core.requiredPlugins
at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java :1072)
at org.eclipse.jdt.launching.JavaRuntime.abort(JavaRuntime.java :1058)
at
org.eclipse.jdt.launching.JavaRuntime.computeDefaultContaine rEntries(JavaRuntime.java:913)
at
org.eclipse.jdt.launching.JavaRuntime.computeDefaultContaine rEntries(JavaRuntime.java:899)
at
org.eclipse.jdt.launching.JavaRuntime.resolveRuntimeClasspat hEntry(JavaRuntime.java:718)
at
org.eclipse.jdt.launching.StandardSourcePathProvider.resolve Classpath(StandardSourcePathProvider.java:56)
at
org.eclipse.jdt.launching.JavaRuntime.resolveSourceLookupPat h(JavaRuntime.java:619)
at
org.eclipse.jdt.launching.sourcelookup.JavaSourceLocator.ini tializeDefaults(JavaSourceLocator.java:385)
at
org.eclipse.jdt.debug.ui.JavaUISourceLocator.initializeDefau lts(JavaUISourceLocator.java:279)
at
org.eclipse.debug.internal.core.LaunchConfiguration.initiali zeSourceLocator(LaunchConfiguration.java:183)
at
org.eclipse.debug.internal.core.LaunchConfiguration.launch(L aunchConfiguration.java:155)
at
org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(D ebugUIPlugin.java:676)
at org.eclipse.debug.ui.DebugUITools.buildAndLaunch(DebugUITool s.java:538)
at org.eclipse.debug.ui.DebugUITools$2.run(DebugUITools.java:48 7)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread. run(ModalContext.java:101)

Thanks for any help !

Yves
Re: Problem running PDE JUnit tests [message #113075 is a reply to message #113051] Wed, 20 August 2003 10:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: RafaelChaves.ca-nospam.ibm.com

There are a few PRs similar to what you are reporting. The following query
will give you access to them.

https://bugs.eclipse.org/bugs/buglist.cgi?long_desc_type=all wordssubstr&long_desc=org.eclipse.pde.core.requiredPlugi ns
Re: Problem running PDE JUnit tests [message #113579 is a reply to message #113075] Thu, 21 August 2003 06:02 Go to previous message
Eclipse UserFriend
Originally posted by: yves.somewhere.com

Thanks. I found the solution thanks to the explanation in one of these bugs.

I deactivated "use classpath containers for dependant plugins".
Then "update classpath" for all projects.
Modify the java build path for some projects.

Then it worked !

Thanks a lot.

Yves

RafaelChaves@ca-nospam.ibm.com wrote:
> There are a few PRs similar to what you are reporting. The following query
> will give you access to them.
>
> https://bugs.eclipse.org/bugs/buglist.cgi?long_desc_type=all wordssubstr&long_desc=org.eclipse.pde.core.requiredPlugi ns
>
Previous Topic:Supporting Popup Menus
Next Topic:BOLD label?
Goto Forum:
  


Current Time: Tue Jul 22 16:28:19 EDT 2025

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

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

Back to the top