You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@servicemix.apache.org by charliec <cl...@yahoo.com> on 2007/08/06 13:25:31 UTC
Error: Unrecognized xbean namespace mapping
I took the example found from
http://incubator.apache.org/servicemix/servicemix-bean.html to build a
service unit using the Trace Example and to deploy it. I used the same
xbean.xml specified in the link and I receive an error when building
it.
The error is the following:
[ERROR] BUILD ERROR
[INFO]
----------------------------------------------------------------------
[INFO] Failed to generate jbi.xml
Embedded error: Unable to generate service unit descriptor!
Unrecognized xbean namespace mapping:
http://servicemix.apache.org/bean/1.0
Anyone know what the error relates to? Also, does anyone have a
complete
working example of using the ServiceMix Bean Component? Thanks in
Advance.
--
View this message in context: http://www.nabble.com/Error%3A--Unrecognized-xbean-namespace-mapping-tf4223579s12049.html#a12014630
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error: Unrecognized xbean namespace mapping
Posted by charliec <cl...@yahoo.com>.
I got the mvn create command to work since I was missing the
-DremoteRepositories=http://people.apache.org/repo/m2-incubating-repository.
I was able to build the example but how do I test it?
charliec wrote:
>
> Thanks for the quick response. I tried executing the maven command:
> mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
> -DarchetypeArtifactId=servicemix-bean-service-unit
> -DarchetypeVersion=3.1.1-incubating -DgroupId=org.apache.servicemix.bean
> -DartifactId=servicemix-bean
>
> and received the following error:
> [ERROR] BUILD ERROR
> [INFO] ----------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> GroupId: org.apache.servicemix.tooling
> ArtifactId: servicemix-bean-service-unit
> Version: 3.1.1-incubating
>
> Reason: Unable to download the artifact from any repository
>
> Do you know the exact command that I should be executing? Thanks.
>
>
> cjn wrote:
>>
>> Yes. Have you tried creating a new project using the maven archetype
>> "servicemix-bean-service-unit"? See
>> http://incubator.apache.org/servicemix/creating-a-standard-jbi-component.html
>> including the note about specifying the incubating repository.
>>
>>
>> charliec wrote:
>>>
>>> I found out the error was because I didn't have the servicemix-bean
>>> dependency in the pom. However, I'm still unable to get this example to
>>> work. Has anyone had any success with getting a servicemix-bean example
>>> to work?
>>>
>>>
>>> charliec wrote:
>>>>
>>>> I took the example found from
>>>> http://incubator.apache.org/servicemix/servicemix-bean.html to build a
>>>> service unit using the Trace Example and to deploy it. I used the same
>>>> xbean.xml specified in the link and I receive an error when building
>>>> it.
>>>> The error is the following:
>>>>
>>>> [ERROR] BUILD ERROR
>>>> [INFO]
>>>> ----------------------------------------------------------------------
>>>> [INFO] Failed to generate jbi.xml
>>>>
>>>> Embedded error: Unable to generate service unit descriptor!
>>>> Unrecognized xbean namespace mapping:
>>>> http://servicemix.apache.org/bean/1.0
>>>>
>>>> Anyone know what the error relates to? Also, does anyone have a
>>>> complete
>>>> working example of using the ServiceMix Bean Component? Thanks in
>>>> Advance.
>>>>
>>>>
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Error%3A--Unrecognized-xbean-namespace-mapping-tf4223579s12049.html#a12020248
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error: Unrecognized xbean namespace mapping
Posted by charliec <cl...@yahoo.com>.
Thanks for the quick response. I tried executing the maven command:
mvn archetype:create -DarchetypeGroupId=org.apache.servicemix.tooling
-DarchetypeArtifactId=servicemix-bean-service-unit
-DarchetypeVersion=3.1.1-incubating -DgroupId=org.apache.servicemix.bean
-DartifactId=servicemix-bean
and received the following error:
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.apache.servicemix.tooling
ArtifactId: servicemix-bean-service-unit
Version: 3.1.1-incubating
Reason: Unable to download the artifact from any repository
Do you know the exact command that I should be executing? Thanks.
cjn wrote:
>
> Yes. Have you tried creating a new project using the maven archetype
> "servicemix-bean-service-unit"? See
> http://incubator.apache.org/servicemix/creating-a-standard-jbi-component.html
> including the note about specifying the incubating repository.
>
>
> charliec wrote:
>>
>> I found out the error was because I didn't have the servicemix-bean
>> dependency in the pom. However, I'm still unable to get this example to
>> work. Has anyone had any success with getting a servicemix-bean example
>> to work?
>>
>>
>> charliec wrote:
>>>
>>> I took the example found from
>>> http://incubator.apache.org/servicemix/servicemix-bean.html to build a
>>> service unit using the Trace Example and to deploy it. I used the same
>>> xbean.xml specified in the link and I receive an error when building
>>> it.
>>> The error is the following:
>>>
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ----------------------------------------------------------------------
>>> [INFO] Failed to generate jbi.xml
>>>
>>> Embedded error: Unable to generate service unit descriptor!
>>> Unrecognized xbean namespace mapping:
>>> http://servicemix.apache.org/bean/1.0
>>>
>>> Anyone know what the error relates to? Also, does anyone have a
>>> complete
>>> working example of using the ServiceMix Bean Component? Thanks in
>>> Advance.
>>>
>>>
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Error%3A--Unrecognized-xbean-namespace-mapping-tf4223579s12049.html#a12019663
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error: Unrecognized xbean namespace mapping
Posted by cjn <ch...@nappin.com>.
Yes. Have you tried creating a new project using the maven archetype
"servicemix-bean-service-unit"? See
http://incubator.apache.org/servicemix/creating-a-standard-jbi-component.html
including the note about specifying the incubating repository.
charliec wrote:
>
> I found out the error was because I didn't have the servicemix-bean
> dependency in the pom. However, I'm still unable to get this example to
> work. Has anyone had any success with getting a servicemix-bean example
> to work?
>
>
> charliec wrote:
>>
>> I took the example found from
>> http://incubator.apache.org/servicemix/servicemix-bean.html to build a
>> service unit using the Trace Example and to deploy it. I used the same
>> xbean.xml specified in the link and I receive an error when building
>> it.
>> The error is the following:
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ----------------------------------------------------------------------
>> [INFO] Failed to generate jbi.xml
>>
>> Embedded error: Unable to generate service unit descriptor!
>> Unrecognized xbean namespace mapping:
>> http://servicemix.apache.org/bean/1.0
>>
>> Anyone know what the error relates to? Also, does anyone have a
>> complete
>> working example of using the ServiceMix Bean Component? Thanks in
>> Advance.
>>
>>
>
>
--
View this message in context: http://www.nabble.com/Error%3A--Unrecognized-xbean-namespace-mapping-tf4223579s12049.html#a12019079
Sent from the ServiceMix - User mailing list archive at Nabble.com.
Re: Error: Unrecognized xbean namespace mapping
Posted by charliec <cl...@yahoo.com>.
I found out the error was because I didn't have the servicemix-bean
dependency in the pom. However, I'm still unable to get this example to
work. Has anyone had any success with getting a servicemix-bean example to
work?
charliec wrote:
>
> I took the example found from
> http://incubator.apache.org/servicemix/servicemix-bean.html to build a
> service unit using the Trace Example and to deploy it. I used the same
> xbean.xml specified in the link and I receive an error when building
> it.
> The error is the following:
>
> [ERROR] BUILD ERROR
> [INFO]
> ----------------------------------------------------------------------
> [INFO] Failed to generate jbi.xml
>
> Embedded error: Unable to generate service unit descriptor!
> Unrecognized xbean namespace mapping:
> http://servicemix.apache.org/bean/1.0
>
> Anyone know what the error relates to? Also, does anyone have a
> complete
> working example of using the ServiceMix Bean Component? Thanks in
> Advance.
>
>
--
View this message in context: http://www.nabble.com/Error%3A--Unrecognized-xbean-namespace-mapping-tf4223579s12049.html#a12018971
Sent from the ServiceMix - User mailing list archive at Nabble.com.