cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benson Margulies (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CXF-7142) Blueprint mandatory in OSGi
Date Thu, 17 Nov 2016 14:53:58 GMT
Benson Margulies created CXF-7142:
-------------------------------------

             Summary: 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


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