Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » A common problem
A common problem [message #449409] Fri, 12 May 2006 04:40 Go to next message
Eclipse UserFriend
Originally posted by: gsebas27.gmail.com

When I export a plugin as a product, and I try to execute the generated
exe, I have the following log error:

!SESSION 2006-05-12 09:44:51.343
-----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=es_ES
Command-line arguments: -os win32 -ws win32 -arch x86

!ENTRY org.eclipse.osgi 2006-05-12 09:44:52.437
!MESSAGE An error occurred while automatically activating bundle Jprim (1).
!STACK 0
org.osgi.framework.BundleException: The activator
jprim.presentacio.rcp.JprimPlugin for bundle Jprim is invalid
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:149)
at
org.eclipse.osgi.framework.internal.core.BundleContextImpl.s tart(BundleContextImpl.java:965)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:313)

(......)

Caused by: java.lang.ClassNotFoundException:
jprim.presentacio.rcp.JprimPlugin
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.loadCl ass(BundleLoader.java:275)
at
org.eclipse.osgi.framework.internal.core.BundleHost.loadClas s(BundleHost.java:227)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.load BundleActivator(AbstractBundle.java:142)
... 27 more
Root exception:
java.lang.ClassNotFoundException: jprim.presentacio.rcp.JprimPlugin
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:405)
at
org.eclipse.osgi.framework.internal.core.BundleLoader.findCl ass(BundleLoader.java:350)
at
org.eclipse.osgi.framework.adaptor.core.AbstractClassLoader. loadClass(AbstractClassLoader.java:78)
at java.lang.ClassLoader.loadClass(Unknown Source)

(..........)

I have look for a solution in some forums and i have met a lot of people
with the same problem but no solution. I have checked the dependencies,
the manifest.mf, the config.ini, it seems all correct. What's happen?
Anyone can help me?
Re: A common problem [message #449412 is a reply to message #449409] Fri, 12 May 2006 05:44 Go to previous messageGo to next message
Eclipse UserFriend
just a few hints:

- check that all classes are _really_ in the packaged plugin-jars (in
the right directory-structure)

- check that you have the "." on the Bundle-ClassPath in the
Manifest-files of the plugins, e.g.:
...
Bundle-ClassPath: .,anylib1.jar,anylib2.jar
...

- check in the config.ini that your bundle
(jprim.presentacio.rcp.JprimPlugin?) is listed there
...
osgi.bundles=...,jprim.presentacio.rcp.JprimPlugin,...
...
but this should be the case.

Hope that helps!

Regards
Stephan
---
iMEDIC GmbH
www.imedic.de

RCP Training Alliance
www.rcp-training.com
Re: A common problem [message #449416 is a reply to message #449409] Fri, 12 May 2006 08:23 Go to previous messageGo to next message
Eclipse UserFriend
and don't post separately in different newsgroups ... now you have 2
threads that aren't connected.

At the very least, cross-post.

Later,
PW
Re: A common problem [message #449418 is a reply to message #449416] Fri, 12 May 2006 10:56 Go to previous message
Eclipse UserFriend
Originally posted by: gsebas27.gmail.com

Ups sorry, i thought the groups was composed by diferent people and i will
have more help
Previous Topic:IFileEditorInput problem
Next Topic:Setting the default perspective
Goto Forum:
  


Current Time: Sat Aug 30 23:32:49 EDT 2025

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

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

Back to the top