The issue is http://cxf.apache.org/schemas/blueprint/jaxrs.xsd 

at the line <xsd:element name="model" type="tns:model" minOccurs="0"/>
under server 

I dont think it likes the name tns there defined as the same thing as
the main xmlns. 

On 2015-05-19 12:48, [email protected] wrote: 

> I am sorry you are correct. I had that previously and then made a poor
> attempt at fixing the problem by removing the first blueprint. I have
> readded it to be the same as my original file but am still facing the
> same error. I am thinking I made a change somewhere else that messed
> things up. Thank you for your help. 
> 
> On 2015-05-19 12:40, Jean-Baptiste Onofré wrote:
> 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 [1] 
> [1] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2] [4] 
> http://cxf.apache.org/blueprint/jaxrs [3] [3] 
> http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4] [6 [4]]" Regards JB On 
> 05/19/2015 06:17 PM, [email protected] 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 [1] [1 [1]]" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance [5] [2 [5]]" 
xmlns:jaxrs="http://cxf.apache.org/blueprint/jaxrs [3] [3 [3]]" 
xsi:schemaLocation="http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd 
[2] [4] http://cxf.apache.org/blueprint/jaxrs [3] [3]

http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [6] [5 [6]]">

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0 [1]
[2] http://www.w3.org/2001/XMLSchema-instance [5]
[3] http://cxf.apache.org/blueprint/jaxrs [3]
[4] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd [2]
[5] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd [6]
[6] http://cxf.apache.org/schema/blueprint/jaxrs.xsd [4]

 

Links:
------
[1] http://www.osgi.org/xmlns/blueprint/v1.0.0
[2] http://www.osgi.org/xmlns/blueprint/v1.0.0/blueprint.xsd
[3] http://cxf.apache.org/blueprint/jaxrs
[4] http://cxf.apache.org/schema/blueprint/jaxrs.xsd
[5] http://www.w3.org/2001/XMLSchema-instance
[6] http://cxf.apache.org/schemas/blueprint/jaxrs.xsd

Reply via email to