Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[pde-dev] Runtime workbench - classpath

Title: Runtime workbench - classpath

Hi

I  have just begun to work through a basic plugin example - Favorites example from "Building Commercial Quality Plugins"

If I try to run the plugin using "Run as Run time Workbench"  I get classpath errors as below although if I build with Ant and deploy it works. Should I be adding extra claspath info to the to the plugin for development and where ?

eclipse.buildId=unknown

java.version=1.3.1

java.vendor=Sun Microsystems Inc.

BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB

Command-line arguments: -application org.eclipse.ui.ide.workbench

!ENTRY org.eclipse.osgi Oct 26, 2004 14:05:21.765

!MESSAGE Error registering XML parser services.

!STACK 0

java.lang.ClassNotFoundException: javax.xml.parsers.SAXParserFactory

        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

        at java.lang.Class.forName0(Native Method)

        at java.lang.Class.forName(Class.java:120)

        at org.eclipse.core.runtime.adaptor.EclipseAdaptor.registerEndorsedXMLParser(EclipseAdaptor.java:272)

        at org.eclipse.core.runtime.adaptor.EclipseAdaptor.frameworkStart(EclipseAdaptor.java:253)

        at org.eclipse.osgi.framework.internal.core.SystemBundleActivator.start(SystemBundleActivator.java:61)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:958)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:954)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:937)

        at org.eclipse.osgi.framework.internal.core.StartLevelManager.resumeBundles(StartLevelManager.java:553)

        at org.eclipse.osgi.framework.internal.core.StartLevelManager.incFWSL(StartLevelManager.java:477)

        at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:273)

        at org.eclipse.osgi.framework.internal.core.StartLevelManager.launch(StartLevelManager.java:243)

        at org.eclipse.osgi.framework.internal.core.SystemBundle.resume(SystemBundle.java:166)

        at org.eclipse.osgi.framework.internal.core.Framework.launch(Framework.java:425)

        at org.eclipse.osgi.framework.internal.core.OSGi.launch(OSGi.java:51)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:216)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)

        at java.lang.reflect.Method.invoke(Native Method)

        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)

        at org.eclipse.core.launcher.Main.run(Main.java:644)

        at org.eclipse.core.launcher.Main.main(Main.java:628)

!ENTRY org.eclipse.osgi Oct 26, 2004 14:05:21.812

!MESSAGE Startup error

!STACK 1

java.lang.NoClassDefFoundError: org/xml/sax/helpers/DefaultHandler

        at java.lang.ClassLoader.defineClass0(Native Method)

        at java.lang.ClassLoader.defineClass(ClassLoader.java:486)

        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)

        at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)

        at java.net.URLClassLoader.access$100(URLClassLoader.java:56)

        at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:297)

        at java.lang.ClassLoader.loadClass(ClassLoader.java:253)

        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)

        at org.eclipse.core.runtime.adaptor.PluginConverterImpl.parsePluginInfo(PluginConverterImpl.java:552)

        at org.eclipse.core.runtime.adaptor.PluginConverterImpl.fillPluginInfo(PluginConverterImpl.java:111)

        at org.eclipse.core.runtime.adaptor.PluginConverterImpl.convertManifest(PluginConverterImpl.java:655)

        at org.eclipse.core.runtime.adaptor.EclipseBundleData.generateManifest(EclipseBundleData.java:219)

        at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadManifest(EclipseBundleData.java:177)

        at org.eclipse.core.runtime.adaptor.EclipseBundleData.getManifest(EclipseBundleData.java:159)

        at org.eclipse.core.runtime.adaptor.EclipseBundleData.loadFromManifest(EclipseBundleData.java:266)

        at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultBundleData.initializeNewBundle(DefaultBundleData.java:77)

        at org.eclipse.osgi.framework.internal.defaultadaptor.DefaultAdaptor$1.begin(DefaultAdaptor.java:451)

        at org.eclipse.osgi.framework.internal.core.Framework.installWorkerPrivileged(Framework.java:746)

        at org.eclipse.osgi.framework.internal.core.Framework$2.run(Framework.java:664)

        at java.security.AccessController.doPrivileged(Native Method)

        at org.eclipse.osgi.framework.internal.core.Framework.installWorker(Framework.java:715)

        at org.eclipse.osgi.framework.internal.core.Framework.installBundle(Framework.java:659)

        at org.eclipse.osgi.framework.internal.core.BundleContextImpl.installBundle(BundleContextImpl.java:219)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.installBundles(EclipseStarter.java:800)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.loadBasicBundles(EclipseStarter.java:429)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:222)

        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:127)

        at java.lang.reflect.Method.invoke(Native Method)

        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)

        at org.eclipse.core.launcher.Main.run(Main.java:644)

        at org.eclipse.core.launcher.Main.main(Main.java:628)

J Tom Lister

/ tom.lister@xxxxxxxxx

( 020 775 65014



*****************************************************************************************************************************************************************
Emails aren't always secure, and they may be intercepted or changed after they've been sent. Abbey doesn't accept liability if this happens. If you think someone may have interfered with this email, please get in touch with the sender another way.

This message doesn't create or change any contract. Abbey doesn't accept responsibility for damage caused by any viruses contained in this email or its attachments. Emails may be monitored.

If you've received this email by mistake, please let the sender know at once that it's gone to the wrong person and then destroy it without copying, using, or telling anyone about its contents.

Abbey National Treasury Services plc Reg. No. 2338548, Cater Allen International Ltd Reg. No. 2572704, and Inscape Investments Limited Reg. No. 3839455 are registered in England and have their Registered Offices at: Abbey National House, 2 Triton Square, Regent's Place, London, NW1 3AN.

Cater Allen International Ltd is a subsidiary of Abbey National Treasury Services plc. Abbey National Treasury Services plc and Cater Allen International Ltd are Members of The London Stock Exchange.

Abbey National Asset Managers Ltd. Reg. No. 106669. Registered Office: Abbey National House, 301 St Vincent Street, Glasgow, G2 5HN. Registered in Scotland.
Abbey National Asset Managers Ltd and Inscape Investments Limited are members of the Abbey Marketing Group and provide OEICS, PEPS, and ISAs.

Abbey National Treasury Services plc, Cater Allen International Ltd, Inscape Investments Limited, and Abbey National Asset Managers Ltd are authorised and regulated by the Financial Services Authority.

Abbey Financial Markets is the brand name for Abbey National Treasury Services plc.

Back to the top