All,
I encounter a ClassNotFoundException when running the an portal
application in WSAD testing portal server. The steps are
1) Start the WSAD testing portal server
2) Logon wpsadmin
3) Go to Administration->Portlets->Manage Portlets->page shown (This
portlet is unavailable.)
4) In runtime errorlog, it shows
java.lang.ClassNotFoundException:
com.ibm.wcm.resource.wizards.feature.AddWpcpNatureFeature
at java.lang.Throwable.<init>(Throwable.java)
at java.lang.Throwable.<init>(Throwable.java)
at
org.eclipse.core.internal.boot.DelegatingURLClassLoader.loadClass(DelegatingURLClassLoader.java)
at java.lang.ClassLoader.loadClass(ClassLoader.java)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:130)
at
org.eclipse.core.internal.plugins.PluginDescriptor.createExecutableExtension(PluginDescriptor.java:167)
at
org.eclipse.core.internal.plugins.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:103)
at
com.ibm.etools.webtools.webproject.WebProjectWizardRegistryReader.parseProjectWizardFeature(WebProjectWizardRegistryReader.java:422)
at
com.ibm.etools.portal.project.features.PortletRegistryReader.parseProjectWizardFeature(PortletRegistryReader.java:114)
at
com.ibm.etools.webtools.webproject.WebProjectWizardRegistryReader.parseAttributes(WebProjectWizardRegistryReader.java:447)
at
com.ibm.etools.portal.project.features.PortletRegistryReader.parseAttributes(PortletRegistryReader.java:98)
at
com.ibm.etools.portal.project.features.PortletRegistryReader.parsePortletFeatures(PortletRegistryReader.java:76)
at
com.ibm.etools.portal.project.features.PortletRegistryReader.<init>(PortletRegistryReader.java:61)
at
com.ibm.etools.portal.project.features.FilteredRegistryReader.<init>(FilteredRegistryReader.java:59)
at
com.ibm.etools.portal.project.wizard.PortletProjectWizard.parseRegistryData(PortletProjectWizard.java:100)
at
com.ibm.itp.wt.ui.WebProjectWizard.addPages(WebProjectWizard.java:106)
at
com.ibm.etools.portal.project.wizard.PortletProjectWizard.addPages(PortletProjectWizard.java:174)
at
org.eclipse.jface.wizard.WizardSelectionPage.getNextPage(WizardSelectionPage.java:105)
at
org.eclipse.jface.wizard.WizardDialog.nextPressed(WizardDialog.java:677)
at
org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:316)
at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
at
org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
at org.eclipse.jface.window.Window.open(Window.java:563)
at
org.eclipse.ui.actions.NewProjectAction.run(NewProjectAction.java:107)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
at
org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
at
org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at
org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at
java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207)
at java.lang.reflect.Method.invoke(Method.java:271)
at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
at org.eclipse.core.launcher.Main.run(Main.java:747)
at org.eclipse.core.launcher.Main.main(Main.java:583)
Thanks in advance,
Wing
Roedy Green - 28 Dec 2005 11:28 GMT
>ClassNotFoundException
see http://mindprod.com/jgloss/caq.html

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.