Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Cannot open editor - NoClassDefFound for MultiPageEditorPart
Cannot open editor - NoClassDefFound for MultiPageEditorPart [message #460356] Wed, 20 December 2006 12:58 Go to next message
Eclipse UserFriend
I'm seing a strange problem where I'm unable to open an editor derived from
FormEditor:

!MESSAGE Unable to create editor ID net.videodb.editors.ItemFormEditor: The
editor class could not be instantiated. This usually indicates that the
editor's class name was mistyped in plugin.xml.
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/ui/part/MultiPageEditorPart
at java.lang.ClassLoader.defineClass1(Native Method)
....
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
....

I've added both org.eclipse.ui, ..ui.editors and and ..ui.forms to the
plugin.xml

Any ideas why the class loader fails?

Thanks,
Andreas
Re: Cannot open editor - NoClassDefFound for MultiPageEditorPart [message #460361 is a reply to message #460356] Wed, 20 December 2006 13:01 Go to previous message
Eclipse UserFriend
Problem found: needed org.eclipse.ui.browser as well. Unclear why the stack
trace complains acount the MPEP though..

"Andreas Goetz" <cpuidle@gmx.de> wrote in message
news:embthn$1om$1@utils.eclipse.org...
> I'm seing a strange problem where I'm unable to open an editor derived
> from FormEditor:
>
> !MESSAGE Unable to create editor ID net.videodb.editors.ItemFormEditor:
> The editor class could not be instantiated. This usually indicates that
> the editor's class name was mistyped in plugin.xml.
> !STACK 0
> java.lang.NoClassDefFoundError: org/eclipse/ui/part/MultiPageEditorPart
> at java.lang.ClassLoader.defineClass1(Native Method)
> ...
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> ...
>
> I've added both org.eclipse.ui, ..ui.editors and and ..ui.forms to the
> plugin.xml
>
> Any ideas why the class loader fails?
>
> Thanks,
> Andreas
>
Previous Topic:getSourceViewer() returning null on AbstractDecoratedTextEditor init
Next Topic:Diagnosing "Unhandled Loop Exception"
Goto Forum:
  


Current Time: Thu Mar 27 03:45:46 EDT 2025

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

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

Back to the top