I've tried to install gemini feature (btw it's gemini-blueprint :) ) and
got this error (using Spring 3.2) :

Caused by: java.lang.NoSuchFieldError: NULL
        at
org.eclipse.gemini.blueprint.blueprint.container.SpringBlueprintConverterService.convert(SpringBlueprintConverterService.java:93)
        at
org.springframework.beans.TypeConverterDelegate.convertIfNecessary(TypeConverterDelegate.java:161)
        at
org.springframework.beans.BeanWrapperImpl.convertIfNecessary(BeanWrapperImpl.java:448)
        at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:494)
        at
org.springframework.beans.BeanWrapperImpl.convertForProperty(BeanWrapperImpl.java:488)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.convertForProperty(AbstractAutowireCapableBeanFactory.java:1433)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1392)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1128)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:519)

Maybe I can switch to spring only namespaces ? or inversely may I use only
blueprint ?

Rgs
Mat


2014-04-01 13:40 GMT+02:00 Jean-Baptiste Onofré <[email protected]>:

> And install the gemini feature (feature:install gemini).
>
> Regards
> JB
>
>
> On 04/01/2014 12:52 PM, Achim Nierbeck wrote:
>
>> Looks like you'll need to use the gemini blueprint, cause the defaul
>> Aries Blueprint doesn't work with mixed blueprint and spring namespaces.
>> To have gemini blueprint successfully running in Karaf 3.0 you'll need
>> to run regions too.
>>
>> Regards, Achim
>>
>>
>> 2014-04-01 11:31 GMT+02:00 Matthieu Vincent <[email protected]
>> <mailto:[email protected]>>:
>>
>>
>>     Hello
>>
>>         I'm trying to migrate to Karaf 3.0.0, when I deploy my bundles I
>>     got the following "error" :
>>
>>     Bundle XXXX is waiting for namespace handlers
>>     [http://www.springframework.org/schema/context,
>>     http://www.springframework.org/schema/beans,
>>     http://www.springframework.org/schema/osgi]
>>
>>     My bundle already imports the spring packages :
>>     Import-Package:
>>     org.springframework.aop,\
>>     org.springframework.aop.config,\
>>     org.springframework.aop.scope,\
>>     org.springframework.aop.framework,\
>>     org.springframework.aop.aspectj.annotation,\
>>     org.springframework.context.config,\
>>     org.springframework.beans.factory.xml,\
>>     *
>>
>>     and my blueprint.xml header looks like this :
>>     <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0";
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>     xmlns:aop="http://www.springframework.org/schema/aop";
>>     xmlns:bean="http://www.springframework.org/schema/beans";
>>     xmlns:osgi="http://www.springframework.org/schema/osgi";
>>     xmlns:context="http://www.springframework.org/schema/context";
>>     xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0
>>     http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
>>     http://www.osgi.org/xmlns/blueprint/v1.0.0
>>     http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
>>     http://www.springframework.org/schema/aop
>>     http://www.springframework.org/schema/aop/spring-aop.xsd
>>     http://www.springframework.org/schema/context
>>     http://www.springframework.org/schema/context/spring-context.xsd
>>     http://www.springframework.org/schema/osgi
>>     http://www.springframework.org/schema/osgi/spring-osgi.xsd
>>     http://www.springframework.org/schema/beans
>>     http://www.springframework.org/schema/beans/spring-beans.xsd";>
>>     ...
>>     </blueprint>
>>
>>     I've tried to :
>>     - install feature spring-dm
>>     - add a spring.handlers in my bundle
>>     - use Spring 3.2 or 3.1
>>
>>     None of these attempts worked.
>>     Does anyone got this problem and succeeded to fix it ?
>>
>>     Thanks in advance
>>     Mat
>>
>>
>>
>>
>> --
>>
>> Apache Karaf <http://karaf.apache.org/> Committer & PMC
>> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer
>> & Project Lead
>> blog <http://notizblog.nierbeck.de/>
>>
>> Software Architect / Project Manager / Scrum Master
>>
>>
> --
> Jean-Baptiste Onofré
> [email protected]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>

Reply via email to