[ 
https://issues.apache.org/jira/browse/KARAF-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17425396#comment-17425396
 ] 

Jean-Baptiste Onofré commented on KARAF-7261:
---------------------------------------------

This tutorial is pretty old and no more up to date. 

I propose to take a look on the karaf example: 
[https://github.com/apache/karaf/tree/main/examples]

and Karaf documentation: [https://karaf.apache.org/manual/latest/]

 

> Karaf Tutorial, Section 4  can not be installed in Karaf " Unable to start 
> bundle"
> ----------------------------------------------------------------------------------
>
>                 Key: KARAF-7261
>                 URL: https://issues.apache.org/jira/browse/KARAF-7261
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf
>    Affects Versions: 4.3.2
>         Environment: Java 1,8
> Windows 10
> Maven 3.8.2
> karaf 4.3.3
>            Reporter: Jesus Macias
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>              Labels: newbie
>
> The Tutorial were installed and with "mvn clear install" deployed.
> I wanted to follow the section *{color:#0747a6}"Karaf Tutorial Part 4 - CXF 
> Services in OSGi"{color}*
> After that, the next commands were used getting an error:
> *araf@root()>* feature:repo-add cxf 3.1.5
> Adding feature url mvn:org.apache.cxf.karaf/apache-cxf/3.1.5/xml/features
> *karaf@root()>* feature:install http cxf-jaxws http-whiteboard
> *karaf@root()>* install -s 
> mvn:net.lr.tutorial.karaf.cxf.personservice/personservice-model/1.0-SNAPSHOT
> Bundle ID: 129
> {color:#FF0000}Error executing command: Error installing bundles:{color}
>  *{color:#FF0000}Unable to start bundle 
> mvn:net.lr.tutorial.karaf.cxf.personservice/personservice-model/1.0-SNAPSHOT: 
> org.osgi.framework.BundleException: Unable to resolve 
> net.lr.tutorial.karaf.cxf.personservice.model [129](R 129.0): missing 
> requirement [net.lr.tutorial.karaf.cxf.personservice.model [129](R 129.0)] 
> osgi.wiring.package; 
> (&(osgi.wiring.package=javax.jws)(version>=1.1.0)(!(version>=2.0.0))) 
> Unresolved requirements: [[net.lr.tutorial.karaf.cxf.personservice.model 
> [129](R 129.0)] osgi.wiring.package; 
> (&(osgi.wiring.package=javax.jws)(version>=1.1.0)(!(version>=2.0.0)))]{color}*



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to