karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Baptiste Onofré ...@nanthrax.net>
Subject Re: cxf namespace
Date Tue, 19 May 2015 16:40:44 GMT
If you define the schema location, you should define the location for 
all schema:

xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0 
http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd 
http://cxf.apache.org/blueprint/jaxrs 
http://cxf.apache.org/schema/blueprint/jaxrs.xsd"

Regards
JB

On 05/19/2015 06:17 PM, development@mobigov.com wrote:
>
>
> I am getting an error
>
> 2015-05-19 12:09:53,722 | ERROR | FelixStartLevel |
> BlueprintContainerImpl | 16 - org.apache.aries.blueprint.core - 1.4.2 |
> Unable to start blueprint container for bundle ****
> org.xml.sax.SAXParseException: src-resolve: Cannot resolve the name
> 'tns:model' to a(n) 'type definition' component.
>   at
> org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown
> Source)[:]
>   at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)[:]
>
> I don't think I was getting this before but don't know if I fat fingered
> something that I didn't mean to. Has someone hit this issue before.
>
> Here is the top of my cxf definition
>
> <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"
>   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>   xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs"
>
> xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
>   http://cxf.apache.org/blueprint/jaxrs
> http://cxf.apache.org/schemas/blueprint/jaxrs.xsd">
>
>
>

-- 
Jean-Baptiste Onofré
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Mime
View raw message