java.lang.IllegalArgumentException: JDBC driver not available for 'com.mysql.jdbc.Driver'

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Spring JIRA by Niklas Saers, 1 year ago
JDBC driver not available for 'com.mysql.jdbc.Driver'
via Spring JIRA by Niklas Saers, 1 year ago
JDBC driver not available for 'com.mysql.jdbc.Driver'
via Spring JIRA by Jack Punt, 1 year ago
JDBC driver not available for 'com.mysql.jdbc.Driver'
via Spring JIRA by Jack Punt, 1 year ago
JDBC driver not available for 'com.mysql.jdbc.Driver'
via Spring JIRA by Andrew Swan, 1 year ago
Unable to obtain physical type metadata for type com.foo.bar.domain.Foo
via Spring JIRA by Andrew Swan, 1 year ago
Unable to obtain physical type metadata for type com.foo.bar.domain.Foo
java.lang.IllegalArgumentException: JDBC driver not available for 'com.mysql.jdbc.Driver'
at org.springframework.roo.support.util.Assert.notNull(Assert.java:112)
at org.springframework.roo.addon.dbre.jdbc.ConnectionProviderImpl.getConnection(ConnectionProviderImpl.java:41)
at org.springframework.roo.addon.dbre.jdbc.ConnectionProviderImpl.getConnection(ConnectionProviderImpl.java:53)
at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getConnection(DbreModelServiceImpl.java:317)
at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:214)
at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:185)
at org.springframework.roo.addon.dbre.DbreModelServiceImpl.getDatabase(DbreModelServiceImpl.java:150)
at org.springframework.roo.addon.entity.AbstractIdentifierServiceAwareMetadataProvider.getIdentifiersForType(AbstractIdentifierServiceAwareMetadataProvider.java:53)
at org.springframework.roo.addon.entity.EntityMetadataProviderImpl.getMetadata(EntityMetadataProviderImpl.java:87)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:266)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:179)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.get(AbstractItdMetadataProvider.java:266)
at org.springframework.roo.metadata.DefaultMetadataService.getInternal(DefaultMetadataService.java:136)
at org.springframework.roo.metadata.DefaultMetadataService.get(DefaultMetadataService.java:81)
at org.springframework.roo.classpath.itd.AbstractItdMetadataProvider.notify(AbstractItdMetadataProvider.java:143)
at org.springframework.roo.metadata.DefaultMetadataService.notify(DefaultMetadataService.java:199)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:262)
at org.springframework.roo.classpath.javaparser.JavaParserMetadataProvider.onFileEvent(JavaParserMetadataProvider.java:141)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318)
at org.springframework.roo.process.manager.internal.DefaultFileManager.notify(DefaultFileManager.java:199)
at org.springframework.roo.metadata.internal.DefaultMetadataDependencyRegistry.notifyDownstream(DefaultMetadataDependencyRegistry.java:276)
at org.springframework.roo.addon.maven.MavenProjectMetadataProvider.onFileEvent(MavenProjectMetadataProvider.java:220)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.publish(PollingFileMonitorService.java:344)
at org.springframework.roo.file.monitor.polling.PollingFileMonitorService.scanAll(PollingFileMonitorService.java:318)
at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:36)
at org.springframework.roo.process.manager.internal.MonitoringRequestCommand.callback(MonitoringRequestCommand.java:15)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.doTransactionally(DefaultProcessManager.java:177)
at org.springframework.roo.process.manager.internal.DefaultProcessManager.completeStartup(DefaultProcessManager.java:99)
at org.springframework.roo.process.manager.internal.DefaultProcessManager$1.frameworkEvent(DefaultProcessManager.java:62)
at org.apache.felix.framework.util.EventDispatcher.invokeFrameworkListenerCallback(EventDispatcher.java:767)
at org.apache.felix.framework.util.EventDispatcher.fireEventImmediately(EventDispatcher.java:724)
at org.apache.felix.framework.util.EventDispatcher.run(EventDispatcher.java:942)
at org.apache.felix.framework.util.EventDispatcher.access$000(EventDispatcher.java:54)
at java.lang.Thread.run(Thread.java:680)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.