cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CXF-7142) Blueprint mandatory in OSGi
Date Mon, 21 Nov 2016 17:38:59 GMT

     [ https://issues.apache.org/jira/browse/CXF-7142?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sergey Beryozkin reassigned CXF-7142:
-------------------------------------

    Assignee: Sergey Beryozkin

It was optional - and it is still optional for "core" and "jetty", but for all the other modules
with the namespace support it became mandatory after their OSGI-INF resources were removed

> Blueprint mandatory in OSGi
> ---------------------------
>
>                 Key: CXF-7142
>                 URL: https://issues.apache.org/jira/browse/CXF-7142
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 3.1.4
>            Reporter: Benson Margulies
>            Assignee: Sergey Beryozkin
>
> As I understand it, I'm supposed to be able to opt out of blueprint. But the jaxrs-frontend
bundle requires it.
> [WARN ] 2016-11-17 06:50:54.561 [FelixStartLevel] org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer
- Aries Blueprint packages not available. So namespaces will not be registered
> java.lang.NoClassDefFoundError: org/apache/aries/blueprint/NamespaceHandler
> 	at java.lang.ClassLoader.defineClass1(Native Method) ~[?:1.8.0_60]
> 	at java.lang.ClassLoader.defineClass(ClassLoader.java:760) ~[?:1.8.0_60]
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.defineClass(BundleWiringImpl.java:2370)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.findClass(BundleWiringImpl.java:2154)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1542)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_60]
> 	at org.apache.cxf.jaxrs.blueprint.Activator$1.createNamespaceHandler(Activator.java:33)
~[org.apache.cxf-cxf-rt-frontend-jaxrs-3.1.4.jar:3.1.4]
> 	at org.apache.cxf.bus.blueprint.NamespaceHandlerRegisterer.register(NamespaceHandlerRegisterer.java:39)
[org.apache.cxf-cxf-core-3.1.4.jar:3.1.4]
> 	at org.apache.cxf.jaxrs.blueprint.Activator.start(Activator.java:36) [org.apache.cxf-cxf-rt-frontend-jaxrs-3.1.4.jar:3.1.4]
> 	at org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:697)
[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.Felix.activateBundle(Felix.java:2226) [org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.Felix.startBundle(Felix.java:2144) [org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1371) [org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:308)
[org.apache.felix.framework-5.6.1.jar:?]
> 	at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
> Caused by: java.lang.ClassNotFoundException: *** Class 'org.apache.aries.blueprint.NamespaceHandler'
was not found. Bundle org.apache.cxf.cxf-rt-frontend-jaxrs [50] does not import package 'org.apache.aries.blueprint',
nor is the package exported by any other bundle or available from the system class loader.
***
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2031)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_60]
> 	... 17 more
> Caused by: java.lang.ClassNotFoundException: org.apache.aries.blueprint.NamespaceHandler
not found by org.apache.cxf.cxf-rt-frontend-jaxrs [50]
> 	at org.apache.felix.framework.BundleWiringImpl.findClassOrResourceByDelegation(BundleWiringImpl.java:1574)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.BundleWiringImpl.access$400(BundleWiringImpl.java:79)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at org.apache.felix.framework.BundleWiringImpl$BundleClassLoader.loadClass(BundleWiringImpl.java:2018)
~[org.apache.felix.framework-5.6.1.jar:?]
> 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_60]
> 	... 17 more



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message