java.lang.NoClassDefFoundError: org/eclipse/pde/internal/core/target/provisional/ITargetPlatformService

1,227 views
Skip to first unread message

aos...@gmail.com

unread,
May 12, 2013, 10:40:42 PM5/12/13
to idem...@googlegroups.com

Hello Guys,

I tried to import the project according to http://www.globalqss.com/wiki/index.php/IDempiere/Setting_up_Eclipse ,and  I have the following error when i do

'Materializing iDempiere project within Eclipse' step

java.lang.NoClassDefFoundError: org/eclipse/pde/internal/core/target/provisional/ITargetPlatformService

 Any ideas what i miss? 

My system environment:

Windows 7

Eclise  Juno Service Release 2

jkd 1.6.0.22

best regards.

aoslee


Edwin Ang

unread,
May 12, 2013, 10:59:45 PM5/12/13
to idem...@googlegroups.com
HI Aoslee,

Use Indigo, and see if the issue persists. The last time I know, iDempiere still have problem with Juno. Don't know if somebody have done any work on it.




--
You received this message because you are subscribed to the Google Groups "iDempiere" group.
To unsubscribe from this group and stop receiving emails from it, send an email to idempiere+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

aoslee aoslee

unread,
May 12, 2013, 11:29:42 PM5/12/13
to idem...@googlegroups.com
Hi Edwin:
Thanks for your reply quickly.
I will try it.
best regards
aoslee


2013/5/13 Edwin Ang <edwin....@gmail.com>

Hiep Lq

unread,
May 13, 2013, 8:55:35 AM5/13/13
to idem...@googlegroups.com

Hi Edwin.
with eclipse juno, i always success. 
my environment is: ubuntu 12.10, java 7, eclipse juno sp2
                             centos 6.3, java 7, eclipse juno sp2 

@aoslee. try update java jdk to jdk 7.

aoslee aoslee

unread,
May 13, 2013, 10:41:43 PM5/13/13
to idem...@googlegroups.com
Hi Hiep,Edwin:
 I changed  juno to indigo and I still get that error message.So I think it is main reason.
and I get successful finally.
The following message in http://www.banym.de/eclipse/build-the-idempiere-project-using-eclipse-with-buckminster is what i say all.
"Daniel T wrote:
Finally I got it working after reading the instructions on Carlos wiki.DON’T clone the idempiere-repo from inside eclipse. That was my problem. If the idempiere repo is cloned from within eclipse, it automatically tries to add all the subprojects in the repo.
SO:
FIRST clone the repo outside of eclipse.THEN materialize using Buckminster in eclipse.The versions of Eclipse and Buckminster doesn’t seem to be a problem. Posted 01 Apr 2012 at 9:01 am "

Thanks for your reply.
best regards
aoslee


2013/5/13 Hiep Lq <hie...@hasuvimex.vn>

Chuck Boecking

unread,
Oct 1, 2013, 10:32:05 AM10/1/13
to idem...@googlegroups.com
Hi Everyone,

I am not able to materialize iDempiere in anything but Indigo Eclipse. Both Juno and Kepler failed with the "Java.lang.NoClassDefFoundError: org/eclipse/pde/internal/core/target/provisional/ITargetPlatformService" error. Here are the details:
  • Microsoft Windows Server 2008 R2 SP1 Datacenter 64-bit Locale English Base AMI provided by Amazon
  • Tried materializing directly from iDempiere clone.
  • Tried materializing from a clone of a clone.
  • Tried materializing from a downloaded copy of the code from 1.0C tag.
  • FYI - no clones were made from inside eclipse
The only thing that always works is materializing from indigo. Does anyone have any insight?

Chuck

Chuck Boecking

unread,
Oct 2, 2013, 8:59:53 AM10/2/13
to idem...@googlegroups.com
Hi Everyone,

I figured it out. Eclipse Juno and Kepler require a newer version of Buckminster. Most of the tutorials out there call for http://download.eclipse.org/tools/buckminster/updates-3.7. With Kepler, you probably should install http://download.eclipse.org/tools/buckminster/updates-4.3. It just magically works when you install the newer version.

I hope this helps!

Chuck Boecking

Chuck Boecking

unread,
Oct 2, 2013, 9:03:34 AM10/2/13
to idem...@googlegroups.com
For future search reference, here was the error eclipse was throwing:

org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.buckminster.pde" was unable to instantiate class "org.eclipse.buckminster.pde.internal.PDETargetPlatform".
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.buckminster.core.TargetPlatform.getInstance(TargetPlatform.java:74)
	at org.eclipse.buckminster.core.RMContext.getGlobalPropertyAdditions(RMContext.java:200)
	at org.eclipse.buckminster.core.mspec.model.MaterializationSpec.getResolvedURL(MaterializationSpec.java:192)
	at org.eclipse.buckminster.ui.wizards.SelectBOMPage$4.run(SelectBOMPage.java:219)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/pde/internal/core/target/provisional/ITargetHandle
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2444)
	at java.lang.Class.getConstructor0(Class.java:2754)
	at java.lang.Class.newInstance0(Class.java:345)
	at java.lang.Class.newInstance(Class.java:327)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
	... 8 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.pde.internal.core.target.provisional.ITargetHandle cannot be found by org.eclipse.buckminster.pde_1.3.0.v20120405-0913
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 14 more
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.buckminster.pde" was unable to instantiate class "org.eclipse.buckminster.pde.internal.PDETargetPlatform".
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:194)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:188)
	at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:905)
	at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
	at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:55)
	at org.eclipse.buckminster.core.TargetPlatform.getInstance(TargetPlatform.java:74)
	at org.eclipse.buckminster.core.RMContext.getGlobalPropertyAdditions(RMContext.java:200)
	at org.eclipse.buckminster.ui.wizards.SelectBOMPage$4.run(SelectBOMPage.java:246)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/pde/internal/core/target/provisional/ITargetHandle
	at java.lang.Class.getDeclaredConstructors0(Native Method)
	at java.lang.Class.privateGetDeclaredConstructors(Class.java:2444)
	at java.lang.Class.getConstructor0(Class.java:2754)
	at java.lang.Class.newInstance0(Class.java:345)
	at java.lang.Class.newInstance(Class.java:327)
	at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:184)
	... 7 more
Caused by: java.lang.ClassNotFoundException: org.eclipse.pde.internal.core.target.provisional.ITargetHandle cannot be found by org.eclipse.buckminster.pde_1.3.0.v20120405-0913
	at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:501)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:421)
	at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:412)
	at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:107)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	... 13 more
java.lang.NoClassDefFoundError: org/eclipse/pde/internal/core/target/provisional/ITargetPlatformService

virtualmindwave

unread,
Jan 16, 2014, 12:32:29 PM1/16/14
to idem...@googlegroups.com
Thanks Chuck!, worked like magic for kepler!

Mohamed Gaber

unread,
May 4, 2014, 4:06:40 PM5/4/14
to idem...@googlegroups.com

thanks Chuck
the error raised with Kepler, once I installed Buckminster  http://download.eclipse.org/tools/buckminster/updates-4.3, the error was solved.
Reply all
Reply to author
Forward
0 new messages