Karaf 4.0.1

 

I try to install this features:

features:install war pax-jsf-support jpa jndi webconsole hibernate
hibernate-validator transaction

Aparently it is installed without problems, but when i restart karaf i get
the next error and myfaces blundle is not started.

 

karaf@root()> ERROR: Bundle org.apache.myfaces.core.api [89] Error starting
mvn:

org.apache.myfaces.core/myfaces-api/2.2.6
(org.osgi.framework.BundleException: U

ses constraint violation. Unable to resolve resource
org.apache.myfaces.core.api

[org.apache.myfaces.core.api [89](R 89.0)] because it is exposed to package
'ja

vax.el' from resources org.ops4j.pax.web.pax-web-jsp
[org.ops4j.pax.web.pax-web-

jsp [160](R 160.0)] and javax.el-api [javax.el-api [9](R 9.0)] via two
dependenc

y chains.

 

Chain 1:

  org.apache.myfaces.core.api [org.apache.myfaces.core.api [89](R 89.0)]

    import:
(&(osgi.wiring.package=javax.el)(version>=1.0.0)(!(version>=3.0.0)))

 

     |

    export: osgi.wiring.package: javax.el

  org.ops4j.pax.web.pax-web-jsp [org.ops4j.pax.web.pax-web-jsp [160](R
160.0)]

 

Chain 2:

  org.apache.myfaces.core.api [org.apache.myfaces.core.api [89](R 89.0)]

    require:
(&(osgi.wiring.bundle=org.apache.myfaces.core.impl)(bundle-version>

=2.2.6))

     |

    provide: [org.apache.myfaces.core.impl [90](R 90.0)] osgi.wiring.bundle;
{os

gi.wiring.bundle=org.apache.myfaces.core.impl, bundle-version=2.2.6}

  org.apache.myfaces.core.impl [org.apache.myfaces.core.impl [90](R 90.0)]

    import:
(&(osgi.wiring.package=javax.enterprise.inject.spi)(version>=1.0.0))

 

     |

    export: osgi.wiring.package=javax.enterprise.inject.spi; uses:=javax.el

  javax.enterprise.cdi-api [javax.enterprise.cdi-api [10](R 10.0)]

    import: (&(osgi.wiring.package=javax.el)(version>=2.2.0))

     |

    export: osgi.wiring.package: javax.el



--
View this message in context: 
http://karaf.922171.n3.nabble.com/Karaf-4-0-1-pax-jsf-support-tp4042867.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to