Pytorch permute()的簡單用法
阿新 • • 發佈:2021-01-19
技術標籤:Javaspringboot
springboot中如果在專案pom引入了SpringBoot整合mybatis框架的依賴,就必須要配置資料庫連線資訊,否則啟動就會報錯,錯誤如下:
***************************
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).
去除pom中相關依賴即可
<dependency>
<groupId>org.mybatis.spring.boot</groupId>
<artifactId>mybatis-spring-boot-starter</artifactId>
<version>2.1.4</version>
</dependency>