![]() ': Unsatisfied dependency expressed through constructor parameter 0 nested exception is .BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource : Bean instantiation via factory method failed nested exception is : Failed to instantiate : Factory method 'dataSource' threw exception nested exception is : Cannot load driver class: .jdbcĬaused by: : Failed to instantiate : Factory method 'dataSource' threw exception nested exception is : Cannot load driver class: .jdbcĬaused by: : Cannot load driver class: .jdbcĪt .state(Assert.java:94) ~Īt .(DataSourceProperties.java:224) ~Īt .(DataSourceProperties.java:176) ~Īt .(DataSourceConfiguration.java:43) ~Īt .jdbc.DataSourceConfiguration$Hikari.dataSource(DataSourceConfiguration.java:83) ~Īt 0(Native Method) ~Īt (NativeMethodAccessorImpl.java:62) ~Īt (DelegatingMethodAccessorImpl.java:43) ~Īt .invoke(Method.java:498) ~Īt .(SimpleInstantiationStrategy. ![]() ![]() UnsatisfiedDependencyException: Error creating bean with name 01:40:47.353 ERROR 10086 - o.s.boot.SpringApplication : Application run failed. Cannot load a driver: And nothing more How can I find a reason of this error I tryed to debug this code if found that exception emerge on this line: Class.forName(''). To display the conditions report re-run your application with 'debug' enabled. Logcat: Error starting ApplicationContext. I have faced a problem i cannot connect to mysql driver.Īnd here is application.properties code: =jdbc:mysql://localhost:3306/stock_produit
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |