ClassNotFoundException at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoad [message #615122] |
Wed, 14 March 2007 07:12 |
Allen Wang Messages: 28 Registered: July 2009 |
Junior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_002A_01C7664B.38EFF9E0
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Hi, All.
I come across a ClassNotFoundException when I extend my own customized =
cell editor to my customized swt widget according to the article: =
Extending The Visual Editor Tutorial.
When I click the property cell editor, this exception appears, what =
should I do to avoid this?
java.lang.ClassNotFoundException: =
org.eclipse.customize.example.CustomLabelEditor
at =
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoa=
der.java:402)
at =
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoa=
der.java:347)
at =
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(Defaul=
tClassLoader.java:83)
at java.lang.ClassLoader.loadClass(ClassLoader.java:494)
at =
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoa=
der.java:278)
at =
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.=
java:227)
at =
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(Abstrac=
tBundle.java:1245)
at =
org.eclipse.ve.internal.cde.core.CDEPlugin.getClassFromStrin g(CDEPlugin.j=
ava:139)
at =
org.eclipse.ve.internal.cde.core.CDEPlugin.getClassFromStrin g(CDEPlugin.j=
ava:96)
at =
org.eclipse.ve.internal.java.core.BeanPropertyDescriptorAdap ter.createPro=
pertyEditor(BeanPropertyDescriptorAdapter.java:215)
at =
org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getEdito=
r(AbstractPropertySheetEntry.java:465)
at =
org.eclipse.ui.views.properties.PropertySheetViewer.activate CellEditor(Pr=
opertySheetViewer.java:154)
at =
org.eclipse.ui.views.properties.PropertySheetViewer.handleSe lect(Property=
SheetViewer.java:702)
at =
org.eclipse.ui.views.properties.PropertySheetViewer.access$7 (PropertyShee=
tViewer.java:680)
at =
org.eclipse.ui.views.properties.PropertySheetViewer$5.mouseD own(PropertyS=
heetViewer.java:790)
at =
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:133)=
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
at =
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:41=
9)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149)
at =
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95)
at =
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivat=
or.java:78)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:92)
at =
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:68)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:4=
00)
at =
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
77)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:85)
at =
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:58)
at =
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorI=
mpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 )
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Waiting for your kindly reply!
Thanks.
Hexise
------=_NextPart_000_002A_01C7664B.38EFF9E0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hi, All.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I come across a ClassNotFoundException =
when I=20
extend my own customized cell editor to my customized swt widget =
according to=20
the article: Extending The Visual Editor Tutorial.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>When I click the property cell editor, =
this=20
exception appears, what should I do to avoid this?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>java.lang.ClassNotFoundException:=20
org.eclipse.customize.example.CustomLabelEditor<BR> at=20
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoa=
der.java:402)<BR> at=20
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoa=
der.java:347)<BR> at=20
org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(Defaul=
tClassLoader.java:83)<BR> at=20
java.lang.ClassLoader.loadClass(ClassLoader.java:494)<BR> at=20
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoa=
der.java:278)<BR> at=20
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.=
java:227)<BR> at=20
org.eclipse.osgi.framework.internal.core.AbstractBundle.load Class(Abstrac=
tBundle.java:1245)<BR> at=20
org.eclipse.ve.internal.cde.core.CDEPlugin.getClassFromStrin g(CDEPlugin.j=
ava:139)<BR> at=20
org.eclipse.ve.internal.cde.core.CDEPlugin.getClassFromStrin g(CDEPlugin.j=
ava:96)<BR> at=20
org.eclipse.ve.internal.java.core.BeanPropertyDescriptorAdap ter.createPro=
pertyEditor(BeanPropertyDescriptorAdapter.java:215)<BR> at=20
org.eclipse.ve.internal.propertysheet.AbstractPropertySheetE ntry.getEdito=
r(AbstractPropertySheetEntry.java:465)<BR> at=20
org.eclipse.ui.views.properties.PropertySheetViewer.activate CellEditor(Pr=
opertySheetViewer.java:154)<BR> at=20
org.eclipse.ui.views.properties.PropertySheetViewer.handleSe lect(Property=
SheetViewer.java:702)<BR> at=20
org.eclipse.ui.views.properties.PropertySheetViewer.access$7 (PropertyShee=
tViewer.java:680)<BR> at=20
org.eclipse.ui.views.properties.PropertySheetViewer$5.mouseD own(PropertyS=
heetViewer.java:790)<BR> at=20
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListe ner.java:133)=
<BR> at=20
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java :66) <BR> =
;at=20
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)<BR > at=20
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.ja va:3348) <BR>&=
nbsp;at=20
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java :2968) <BR>&nb=
sp;at=20
org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.jav a:1914) <BR>&n=
bsp;at=20
org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) <BR> at =
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:41=
9)<BR> at=20
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:149) <BR>&=
nbsp;at=20
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:95) <BR=
> at=20
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivat=
or.java:78)<BR> at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .runApplicati=
on(EclipseAppLauncher.java:92)<BR> at=20
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher .start(Eclips=
eAppLauncher.java:68)<BR> at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:4=
00)<BR> at=20
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:1=
77)<BR> at=20
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<BR> at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:85)<BR> at=20
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java=
:58)<BR> at=20
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorI=
mpl.java:60)<BR> at=20
java.lang.reflect.Method.invoke(Method.java:391)<BR> at=20
org.eclipse.core.launcher.Main.invokeFramework(Main.java:336 ) <BR> at=
=20
org.eclipse.core.launcher.Main.basicRun(Main.java:280)<BR> at=20
org.eclipse.core.launcher.Main.run(Main.java:977)<BR> at=20
org.eclipse.core.launcher.Main.main(Main.java:952)</FONT></DIV >
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Waiting for your kindly =
reply!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Hexise</DIV>
<DIV><BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_002A_01C7664B.38EFF9E0--
|
|
|
Powered by
FUDForum. Page generated in 0.02304 seconds