Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » The bundle could not be resolved in RCP-RAP application
The bundle could not be resolved in RCP-RAP application [message #501370] Wed, 02 December 2009 00:36 Go to next message
fatih  is currently offline fatih
Messages: 6
Registered: November 2009
Junior Member
Hi,

I have a RCP application which constitutes of a number of plugins. And now, I try to develop RAP application which uses my old plugins. My RAP has a dependency of one old plugin. I created my own target platform and I added RAP sdk and other many eclipse platform libraries. When I run my RAP application, I get this exception. Do you have any idea to solve that? Depended plugin uses "org.eclipse.ui" package.

org.osgi.framework.BundleException: The bundle could not be resolved. Reason: Missing Constraint: Require-Bundle: org.unicase.link; bundle-version="1.0.0" at org.eclipse.osgi.framework.internal.core.AbstractBundle.getR esolverError(AbstractBundle.java:1313) at org.eclipse.osgi.framework.internal.core.AbstractBundle.getR esolutionFailureException(AbstractBundle.java:1297) at org.eclipse.osgi.framework.internal.core.BundleHost.startWor ker(BundleHost.java:319) at org.eclipse.osgi.framework.internal.core.AbstractBundle.resu me(AbstractBundle.java:370) at org.eclipse.osgi.framework.internal.core.Framework.resumeBun dle(Framework.java:1069) at org.eclipse.osgi.framework.internal.core.StartLevelManager.r esumeBundles(StartLevelManager.java:554) at org.eclipse.osgi.framework.internal.core.StartLevelManager.i ncFWSL(StartLevelManager.java:461) at org.eclipse.osgi.framework.internal.core.StartLevelManager.d oSetStartLevel(StartLevelManager.java:246) at org.eclipse.osgi.framework.internal.core.StartLevelManager.d ispatchEvent(StartLevelManager.java:442) at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve nt(EventManager.java:227) at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread .run(EventManager.java:337)

2009-12-02 01:13:23.625::WARN: ERROR: /rap java.lang.IllegalArgumentException: An entry point named 'hello' does not exist. at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:77) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:227) at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:115) at java.lang.Thread.run(Unknown Source) at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)
Re: The bundle could not be resolved in RCP-RAP application [message #501457 is a reply to message #501370] Wed, 02 December 2009 12:35 Go to previous messageGo to next message
Benjamin Muskalla is currently offline Benjamin Muskalla
Messages: 338
Registered: July 2009
Senior Member
Hi,

from your stacktrace it seems you're missing the "org.unicase.link" in
your configuration.

Regards,
Benny

fatih wrote:
> Hi,
>
> I have a RCP application which constitutes of a number of plugins. And
> now, I try to develop RAP application which uses my old plugins. My RAP
> has a dependency of one old plugin. I created my own target platform and
> I added RAP sdk and other many eclipse platform libraries. When I run my
> RAP application, I get this exception. Do you have any idea to solve
> that? Depended plugin uses "org.eclipse.ui" package.
>
> org.osgi.framework.BundleException: The bundle could not be resolved.
> Reason: Missing Constraint: Require-Bundle: org.unicase.link;
> bundle-version="1.0.0" at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getR
> esolverError(AbstractBundle.java:1313) at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.getR
> esolutionFailureException(AbstractBundle.java:1297) at
> org.eclipse.osgi.framework.internal.core.BundleHost.startWor
> ker(BundleHost.java:319) at
> org.eclipse.osgi.framework.internal.core.AbstractBundle.resu
> me(AbstractBundle.java:370) at
> org.eclipse.osgi.framework.internal.core.Framework.resumeBun
> dle(Framework.java:1069) at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.r
> esumeBundles(StartLevelManager.java:554) at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.i
> ncFWSL(StartLevelManager.java:461) at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d
> oSetStartLevel(StartLevelManager.java:246) at
> org.eclipse.osgi.framework.internal.core.StartLevelManager.d
> ispatchEvent(StartLevelManager.java:442) at
> org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEve
> nt(EventManager.java:227) at
> org.eclipse.osgi.framework.eventmgr.EventManager$EventThread
> .run(EventManager.java:337)
>
> 2009-12-02 01:13:23.625::WARN: ERROR: /rap
> java.lang.IllegalArgumentException: An entry point named 'hello' does
> not exist. at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU
> I(EntryPointManager.java:77) at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT
> LifeCycle.java:227) at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont
> roller.run(RWTLifeCycle.java:115) at java.lang.Thread.run(Unknown
> Source) at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav
> a:80)


--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
Re: The bundle could not be resolved in RCP-RAP application [message #501577 is a reply to message #501457] Wed, 02 December 2009 21:14 Go to previous message
fatih  is currently offline fatih
Messages: 6
Registered: November 2009
Junior Member
Hi Benjamin,

Two plugins are in my workspace and I defined dependency in plugin.xml of my RAP plugin. Should I do any other configuration??

Regards.

Previous Topic:How to customize Eclipse Galileo 3.5
Next Topic:How to block second instance of Eclipse
Goto Forum:
  


Current Time: Fri Oct 24 18:04:03 GMT 2014

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

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