demo-spring-boot's People
Forkers
shivaniwadurkardemo-spring-boot's Issues
Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
This error occurs when I running all spring projects please help me to solve this
. ____ _ __ _ _
/\ / ' __ _ () __ __ _ \ \ \
( ( )__ | '_ | '| | ' / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
' || .__|| ||| |_, | / / / /
=========||==============|/=////
:: Spring Boot :: (v2.2.2.RELEASE)
- 2019-12-31 12:25:10.899 INFO 4528 --- [ main] c.r.d.s.boot.DemoSpringBootApplication : Starting DemoSpringBootApplication on LAPTOP-MSR2HRG9 with PID 4528 (G:\eclipse-workspace\demo-spring-boot\target\classes started by rushikesh in G:\eclipse-workspace\demo-spring-boot)
- 2019-12-31 12:25:10.913 INFO 4528 --- [ main] c.r.d.s.boot.DemoSpringBootApplication : No active profile set, falling back to default profiles: default
- 2019-12-31 12:25:12.583 INFO 4528 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
- 2019-12-31 12:25:12.648 INFO 4528 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 43ms. Found 0 JPA repository interfaces.
- 2019-12-31 12:25:13.383 INFO 4528 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration' of type [org.springframework.transaction.annotation.ProxyTransactionManagementConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
- 2019-12-31 12:25:14.218 INFO 4528 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
- 2019-12-31 12:25:14.237 INFO 4528 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
- 2019-12-31 12:25:14.237 INFO 4528 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.29]
- 2019-12-31 12:25:14.468 INFO 4528 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
- 2019-12-31 12:25:14.468 INFO 4528 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3338 ms
- 2019-12-31 12:25:14.602 WARN 4528 --- [ main] ConfigServletWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaConfiguration': Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class
- 2019-12-31 12:25:14.611 INFO 4528 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
- 2019-12-31 12:25:14.652 INFO 4528 --- [ main] ConditionEvaluationReportLoggingListener :
- Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
- 2019-12-31 12:25:14.657 ERROR 4528 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
-
- APPLICATION FAILED TO START
-
- Description:
- Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
- Reason: Failed to determine a suitable driver class
- Action:
- Consider the following:
-
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
-
If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active).
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.