Giter Club home page Giter Club logo

demo-spring-boot's People

Contributors

raghavx avatar

Watchers

 avatar  avatar

Forkers

shivaniwadurkar

demo-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)

  1. 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)
  2. 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
  3. 2019-12-31 12:25:12.583 INFO 4528 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
  4. 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.
  5. 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)
  6. 2019-12-31 12:25:14.218 INFO 4528 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 8080 (http)
  7. 2019-12-31 12:25:14.237 INFO 4528 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
  8. 2019-12-31 12:25:14.237 INFO 4528 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.29]
  9. 2019-12-31 12:25:14.468 INFO 4528 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
  10. 2019-12-31 12:25:14.468 INFO 4528 --- [ main] o.s.web.context.ContextLoader : Root WebApplicationContext: initialization completed in 3338 ms
  11. 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
  12. 2019-12-31 12:25:14.611 INFO 4528 --- [ main] o.apache.catalina.core.StandardService : Stopping service [Tomcat]
  13. 2019-12-31 12:25:14.652 INFO 4528 --- [ main] ConditionEvaluationReportLoggingListener :
  14. Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
  15. 2019-12-31 12:25:14.657 ERROR 4528 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :

  16. APPLICATION FAILED TO START

  17. Description:
  18. Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured.
  19. Reason: Failed to determine a suitable driver class
  20. Action:
  21. Consider the following:
  22. If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
    
  23. 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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.