Description: Failed to configure a DataSource: ‘url‘ attribute is not specified and no embedded dat

纽二

关注

阅读 35

2022-04-18

项目场景:

用代码生成器生成代码后进行简单的测试时出现了问题


问题描述

运行时出现了
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的错误
在这里插入图片描述


原因分析:


在这里插入图片描述

解决方案:

在这里插入图片描述

这点小错误捣鼓了一个小时,罪过罪过,继续加油.

精彩评论(0)

0 0 举报