How to integrate mybatis with blueprint correctly ?
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, tools, and much more.