I am following the instructions on this page:
https://aries.apache.org/documentation/tutorials/blueprinthelloworldtutorial.html
In the section "Running the code", I have started the Equinox based
platform that contains all of the OSGi bundles by running "java -jar osgi-3.
5.0.v20090520.jar -console". I get the osgi> prompt, but my output is
slightly different when I type "ss":
osgi> ss
Framework is launched.
id State Bundle
0 ACTIVE org.eclipse.osgi_3.5.0.v20090520
1 ACTIVE org.eclipse.equinox.cm_3.2.0.v20070116
2 ACTIVE org.eclipse.osgi.services_3.1.200.v20070605
3 ACTIVE org.objectweb.asm.all_3.2.0
4 INSTALLED org.apache.aries.proxy_1.0.0
5 ACTIVE org.apache.aries.util_1.0.0
6 INSTALLED org.apache.aries.blueprint_1.0.0
7 RESOLVED
org.apache.aries.samples.blueprint.helloworld.api_1.0.1.SNAPSHOT
8 INSTALLED
org.apache.aries.samples.blueprint.helloworld.server_1.0.1.SNAPSHOT
9 INSTALLED
org.apache.aries.samples.blueprint.helloworld.client_1.0.1.SNAPSHOT
osgi>
When I type "start 6" at the osgi prompt I receive the following error
messages:
osgi> start 6
org.osgi.framework.BundleException: The bundle could not be resolved.
Reason: Missing Constraint: Import-Package: org.apache.aries.proxy;
version="[1.0.0,2.0.0)"
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolverError(AbstractBundle.java:1313)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.getResolutionFailureException(AbstractBundle.java:1297)
at
org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:309)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:280)
at
org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:272)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandProvider._start(FrameworkCommandProvider.java:253)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at
org.eclipse.osgi.framework.internal.core.FrameworkCommandInterpreter.execute(FrameworkCommandInterpreter.java:155)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.docommand(FrameworkConsole.java:303)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.console(FrameworkConsole.java:288)
at
org.eclipse.osgi.framework.internal.core.FrameworkConsole.run(FrameworkConsole.java:224)
at java.lang.Thread.run(Unknown Source)
osgi>
What do I need in order to get past this error and proceed with the
tutorial?