***************************
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).
Process finished with exit code 1
This error is always reported when springboot starts
my solution:
1. Check whether the Resources folder is configured. Mine was gray before, and it is equipped with
2. Use Maven clean
and start successfully.
Read More:
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- Failed to configure a DataSource
- Failed to configure a DataSource: ‘ url’ attribute
- Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded (How to Fix)
- Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded
- Datasource bean injection failed, with startup error
- Springboot startup error: error starting ApplicationContext
- Springboot startup error could not resolve placeholder XXX
- Springboot modifies the reference of the application.yml or. Properties file to report an error after startup
- Springboot project startup exception – required a single bean, but 2 were found
- Springboot startup error [extshutdown hook]
- Springboot startup exception: error creating bean with name ‘permissioncontroller’
- UITableView failed to obtain a cell from its dataSource?
- Springboot startup error – classnotfound Exception:EnhancerBySpringCGLIB
- Springboot plus cross domain annotation @crossorigin startup error
- Springboot startup error: java.lang.IllegalArgumentException : Property ‘sqlSessionFactory’ or ‘sqlSessionTempla
- Configure Nvidia graphics card on ubuntu18.04 xrandr Failed to get size of gamma for output default
- [spring] springboot failed to install cli, unsupportclassversionerror 52.0
- Springboot failed to parse MVC view
- How to solve the failed to start switch root error during centos8.1 startup?