org.springframework.beans.factory.BeanDefinitionStoreException: Unrecognized
xbean namespace mapping: http://servicemix.apache.org/jsr181/1.0

This exception is raised when xbean can not find the mapping extension for the given namespace.

Check that:

  • the namespace has been mispelled
  • you do not have the jar in the classpath: if you use a standard JBI component in a servicemix.xml configuration file, installing a component is not sufficient, you have to extract the libraries in the component installer and add them to the container classpath (in the lib directory). See also User's Guide: 3. Installation, Troubleshooting