How to integrate mybatis with blueprint correctly ?

Solution Unverified - Updated -


  • We are migrating spring bundles using mybatis to blueprint bundle, but its launch an error at deploy in osgi container.
org.osgi.service.blueprint.container.ComponentDefinitionException: Unable to validate xml
Caused by: org.xml.sax.SAXParseException: cvc-elt.1.a: Cannot find the declaration of element 'configuration'.

configuration is a tag of SqlMapConfig.xml of mybatis.

  • From the Fuse side, we have installed,
    features:install camel-mybatis


  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content