org.mule.module.launcher.DeploymentStartException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • When using Spring beans in a project, Mule is not able to find the classes that are contained in jars in the libs folder at the application level. For example, when creating a Data Source using the followed bean and adding the mysql Driver jar to the lib folder you get he followed exception Bean: {code} <spring:beans> <spring:bean id="jdbcDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" > <spring:property name="driverClassName" value="com.mysql.jdbc.Driver"></spring:property> <spring:property name="url" value="jdbc:mysql://localhost/StudioQA?user=root&amp;password="></spring:property> </spring:bean> </spring:beans> {code} Exception: {code} Exception in thread "main" org.mule.module.launcher.DeploymentStartException: SQLException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:174) at org.mule.module.launcher.application.ApplicationWrapper.start(ApplicationWrapper.java:107) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.run(ApplicationDeployer.java:56) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:88) Caused by: org.mule.retry.RetryPolicyExhaustedException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= (java.sql.SQLException) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:105) at org.mule.transport.AbstractConnector.connect(AbstractConnector.java:1616) at org.mule.transport.AbstractConnector.start(AbstractConnector.java:428) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:225) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:276) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:80) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:120) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:94) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:90) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:72) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:64) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:252) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:154) ... 4 more Caused by: org.mule.transport.ConnectException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= (java.sql.SQLException) at org.mule.transport.jdbc.JdbcConnector.getConnection(JdbcConnector.java:251) at org.mule.transport.jdbc.JdbcConnector.doConnect(JdbcConnector.java:371) at org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1556) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:67) ... 22 more Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= at java.sql.DriverManager.getConnection(DriverManager.java:602) at java.sql.DriverManager.getConnection(DriverManager.java:154) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119) at org.mule.transport.jdbc.JdbcConnector.getConnection(JdbcConnector.java:247) ... 25 more {code} Attached is a project to reproduce this issue, you will need to adapt the MySql configuration to a local DataBase.
    via by Matías Pentreath,
  • When using Spring beans in a project, Mule is not able to find the classes that are contained in jars in the libs folder at the application level. For example, when creating a Data Source using the followed bean and adding the mysql Driver jar to the lib folder you get he followed exception Bean: {code} <spring:beans> <spring:bean id="jdbcDataSource" class="org.springframework.jdbc.datasource.DriverManagerDataSource" > <spring:property name="driverClassName" value="com.mysql.jdbc.Driver"></spring:property> <spring:property name="url" value="jdbc:mysql://localhost/StudioQA?user=root&amp;password="></spring:property> </spring:bean> </spring:beans> {code} Exception: {code} Exception in thread "main" org.mule.module.launcher.DeploymentStartException: SQLException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:174) at org.mule.module.launcher.application.ApplicationWrapper.start(ApplicationWrapper.java:107) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.run(ApplicationDeployer.java:56) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:88) Caused by: org.mule.retry.RetryPolicyExhaustedException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= (java.sql.SQLException) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:105) at org.mule.transport.AbstractConnector.connect(AbstractConnector.java:1616) at org.mule.transport.AbstractConnector.start(AbstractConnector.java:428) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:225) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:276) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:80) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:120) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:94) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:90) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:72) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:64) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:252) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:154) ... 4 more Caused by: org.mule.transport.ConnectException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= (java.sql.SQLException) at org.mule.transport.jdbc.JdbcConnector.getConnection(JdbcConnector.java:251) at org.mule.transport.jdbc.JdbcConnector.doConnect(JdbcConnector.java:371) at org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1556) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:67) ... 22 more Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= at java.sql.DriverManager.getConnection(DriverManager.java:602) at java.sql.DriverManager.getConnection(DriverManager.java:154) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119) at org.mule.transport.jdbc.JdbcConnector.getConnection(JdbcConnector.java:247) ... 25 more {code} Attached is a project to reproduce this issue, you will need to adapt the MySql configuration to a local DataBase.
    via by Matías Pentreath,
  • JDBC URL is null?
    via Stack Overflow by dtrunk
    ,
    • org.mule.module.launcher.DeploymentStartException: SQLException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:174) at org.mule.module.launcher.application.ApplicationWrapper.start(ApplicationWrapper.java:107) at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:47) at org.mule.tooling.server.application.ApplicationDeployer.run(ApplicationDeployer.java:56) at org.mule.tooling.server.application.ApplicationDeployer.main(ApplicationDeployer.java:88) Caused by: org.mule.retry.RetryPolicyExhaustedException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= (java.sql.SQLException) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:105) at org.mule.transport.AbstractConnector.connect(AbstractConnector.java:1616) at org.mule.transport.AbstractConnector.start(AbstractConnector.java:428) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.mule.lifecycle.phases.DefaultLifecyclePhase.applyLifecycle(DefaultLifecyclePhase.java:225) at org.mule.lifecycle.RegistryLifecycleManager$RegistryLifecycleCallback.onTransition(RegistryLifecycleManager.java:276) at org.mule.lifecycle.RegistryLifecycleManager.invokePhase(RegistryLifecycleManager.java:155) at org.mule.lifecycle.RegistryLifecycleManager.fireLifecycle(RegistryLifecycleManager.java:126) at org.mule.registry.AbstractRegistryBroker.fireLifecycle(AbstractRegistryBroker.java:80) at org.mule.registry.MuleRegistryHelper.fireLifecycle(MuleRegistryHelper.java:120) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:94) at org.mule.lifecycle.MuleContextLifecycleManager$MuleContextLifecycleCallback.onTransition(MuleContextLifecycleManager.java:90) at org.mule.lifecycle.MuleContextLifecycleManager.invokePhase(MuleContextLifecycleManager.java:72) at org.mule.lifecycle.MuleContextLifecycleManager.fireLifecycle(MuleContextLifecycleManager.java:64) at org.mule.DefaultMuleContext.start(DefaultMuleContext.java:252) at org.mule.module.launcher.application.DefaultMuleApplication.start(DefaultMuleApplication.java:154) ... 4 more Caused by: org.mule.transport.ConnectException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= (java.sql.SQLException) at org.mule.transport.jdbc.JdbcConnector.getConnection(JdbcConnector.java:251) at org.mule.transport.jdbc.JdbcConnector.doConnect(JdbcConnector.java:371) at org.mule.transport.AbstractConnector$5.doWork(AbstractConnector.java:1556) at org.mule.retry.policies.AbstractPolicyTemplate.execute(AbstractPolicyTemplate.java:67) ... 22 more Caused by: java.sql.SQLException: No suitable driver found for jdbc:mysql://localhost/StudioQA?user=root&password= at java.sql.DriverManager.getConnection(DriverManager.java:602) at java.sql.DriverManager.getConnection(DriverManager.java:154) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriverManager(DriverManagerDataSource.java:173) at org.springframework.jdbc.datasource.DriverManagerDataSource.getConnectionFromDriver(DriverManagerDataSource.java:164) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnectionFromDriver(AbstractDriverBasedDataSource.java:149) at org.springframework.jdbc.datasource.AbstractDriverBasedDataSource.getConnection(AbstractDriverBasedDataSource.java:119) at org.mule.transport.jdbc.JdbcConnector.getConnection(JdbcConnector.java:247) ... 25 more

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    jf-ast
    1 times, last one,
    DoktorDoener666
    2 times, last one,
    56 more bugmates