***************************
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 suitable jdbc url
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
Reason: Failed to configure a DataSource: ‘url’ attribute is not specified and no embedded datasource could be configured.
Solution:
There are other dependencies in pom.xml that affect
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.2.0</version>
</dependency>
mybatis dependency delete and rerun on it
Read More:
- [Solved] Springboot project Create to start Error: APPLICATION FAILED TO START
- How to Solve Rabbitmq Error: Failed to start RabbitMQ broker
- How to Solve Hyperf Failed to Start Error After Aliyun ACM Installed
- Error starting ApplicationContext. To display the auto-configuration report re-run your application
- How to Solve Error: could not read ok from ADB Server.failed to start daemon error: cannot connect to daemon
- [Solved] PySide2 Error: This application failed to start because no Qt platform plugin could be initialized
- How to Solve Error: Failed to load ApplicationContext
- How to Solve Ogg start error message ogg-00014
- How to Solve Error while executing: am start -n
- How to Solve elasticsearch root user start Error
- [Solved] integrated swagger Start Error: Failed to start bean ‘documentationPluginsBootstrapper‘;
- [Solved] Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded datasource could
- How to Solve Docker failed to initialize Error
- [Solved] UNABLE TO START SERVLETWEBSERVERAPPLICATIONCONTEXT DUE TO MISSING SERVLETWEBSERVERFACTORY BEAN
- How to Solve Error: Heartbeating to master:7182 failed.
- How to Solve Logstash error: failed to execute action
- [Solved] docker failed to solve: failed to solve with frontend dockerfile.v0: failed to create LLB definition
- How to Fix Spoolsv.exe Application Error
- How to Solve creating bean with name ‘mappingjackson2httpmessageconverter’ error when elasticsearch advanced client starts‘
- IDEA: How to Solve Springboot Project install Error