I got blocked for two days for a damned dependency problem, so I decided to share the solution ;-).

I had the following error while running functional tests via Maven :

```
Invalid content was found starting with element 'db:generic-config'.
One of '{"http://www.springframework.org/schema/beans":beans, ..."}' is expected

```

The Mule xml was referencing a database config as follow:

```
<db:generic-config name="mf-connector-thebes"
    url="${url}"
    driverClassName="${driver}"
    doc:name="Generic Database Configuration" >
</db:generic-config>

```