美文网首页
#错误日志

#错误日志

作者: 刘_晓林 | 来源:发表于2019-05-22 17:16 被阅读0次

错误日志

***************************
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

解决方案1

删除<scope>provided</scope>

image.png

添加两个jar包

<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-jdbc</artifactId>
</dependency>

<dependency>
    <groupId>com.h2database</groupId>
    <artifactId>h2</artifactId>
</dependency>

如果还没对你有帮助这里有更好的方法

相关文章

  • 《深入浅出Mysql》--日志 笔记

    四种日志 错误日志二进制日志慢查询日志查询日志 1. 错误日志(.err) 严重错误信息记录 more x.err...

  • 11章 日志与事件

    第11章 日志与事件 日志:错误日志 errorlog_error 错误日志物理文件地址普通查询日志 genera...

  • 小白学nginx之查看nginx日志

    访问日志: 错误日志

  • mysql查看错误日志

    查看错误日志存放地址 根据错误日志分析数据

  • mysql笔记之日志篇

    mysql中日志主要分为以下几种:错误日志、慢查询日志、二进制日志和事务日志。 1. 错误日志 记录mysql启动...

  • 日志管理

    01,错误日志 1,作用 记录启动\关闭\日常运行过程中,状态信息,警告,错误 2,错误日志配置 3,日志内容查看...

  • Day09-Binlog日志配置与备份恢复

    1. 日志管理 日志作用:排错、数据恢复、优化 1.1 排错 错误日志(默认开启) 默认错误日志查看 配置方式: ...

  • MYSQL日志管理

    Mysql日志管理: 介绍:错误日志、二进制日志、慢日志 1、错误日志 配置方式:在配置文件中(my.cnf)中添...

  • MySQL-lesson06-日志管理

    1.错误日志(log_error) 1.1 作用 1.2 错误日志配置 1.3 日志内容查看 2. binlog(...

  • Uncaught Error: Call to undefine

    我们先用命令追踪日志nginx错误日志tail -f /var/log/nginx/error.log 错误日志输...

网友评论

      本文标题:#错误日志

      本文链接:https://www.haomeiwen.com/subject/oxwuzqtx.html