How to integrate mybatis with blueprint correctly ?

Solution Unverified - Updated -

Issue

  • 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

Environment

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

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.