Adding a jar to an RCP application [message #467212] |
Tue, 01 May 2007 07:30 |
Eclipse User |
|
|
|
Originally posted by: moutaz.ahmed.gmail.com
hii
when i add a jar (which i created from another project) to my RCP application as "Add External Jar",
the application sees all the classes and packages in it but when i make an instance (object) of any class of this Jar and add it to any view, this RUN TIME ERROR MEASSAGE is out in the view where i added to it the object:
"java.lang.NoClassDefFoundError"
|
|
|
|
|
|
|
Re: Adding a jar to an RCP application [message #467248 is a reply to message #467221] |
Wed, 02 May 2007 05:53 |
Eclipse User |
|
|
|
Originally posted by: moutaz.ahmed.gmail.com
hii Alex
the Manifest.mf contains:
////////////////////////////////////////////////
Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Dev_Kit Plug-in
Bundle-SymbolicName: Dev_Kit; singleton:=true
Bundle-Version: 1.0.0
Bundle-Activator: dev_Kit.Dev_KitPlugin
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
org.eclipse.core.runtime,
org.eclipse.ui.views,
EngNetframeworkPlug_in
Eclipse-AutoStart: true
///////////////////////////////////////////////
the .Classpath contains:
***********************************************
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry path="src" kind="src"/>
<classpathentry path="org.eclipse.jdt.launching.JRE_CONTAINER" kind="con"/>
<classpathentry path="org.eclipse.pde.core.requiredPlugins" kind="con"/>
<classpathentry path="bin" kind="output"/>
</classpath>
***********************************************
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03813 seconds