Hello, I have a blueprint message error.
from Karaf Tutorial Part 1 <http://www.liquid-reality.de/display/liquid/2011/02/15/Karaf+Tutorial+Part+1+-+Installation+and+First+application> I can add a project easily . <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> <bean id="taskService" class="net.lr.tasklist.persistence.impl.TaskServiceImpl" /> <service ref="taskService" interface="net.lr.tasklist.model.TaskService" /> </blueprint> I have tried to do te samething.. <bean id="ProviderActivator" class="com.bw.osgi.provider.impl.HelloWorldServiceImpl" /> <service ref="ProviderActivator" interface="com.bw.osgi.provider.able.HelloWorldService" /> And I have added that in the pom.xml : <dependency> <groupId>OSGiDmHelloWorldProvider</groupId> <artifactId>OSGiDmHelloWorldProvider</artifactId> <version>1.0</version> </dependency> That don't work when I want to install the bundle on Karaf. [37:org.apache.karaf.shell.console:3.0.1] Caused by: java.lang.Exception: Unable to start bundle mvn:net.lr.tutorial.karaf.cxf.personservice/personservice-webui/1.0-SNAPSHOT at org.apache.karaf.bundle.command.Install.doExecute(Install.java:53) ... 32 more Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle personservice-webui [185]: Unable to resolve 185.0: missing requirement [185.0] osgi.wiring.package; (osgi.wiring.package=com.bw.osgi.provider.impl) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at org.apache.karaf.bundle.command.Install.doExecute(Install.java:51) Can you say to me where is the problem ? Thank you for your advice and help. -- View this message in context: http://karaf.922171.n3.nabble.com/blueprint-message-error-osgi-wiring-package-tp4033863.html Sent from the Karaf - User mailing list archive at Nabble.com.
