Solve the problem that 'url' attribute is not specified and no embedded datasource could be configured when springboot starts.

1. Screenshots of problems encountered

2. Reasons

I encountered this problem after updating the idea version. It was normal when starting the project in the old version. In the new version of my idea, resource is just a normal folder. Normally it should be a resource folder.

3. Solution

Set resource as the resource folder, right-click Mark Directory as->Resources Root, and restart.

Guess you like

Origin blog.csdn.net/weixin_65919849/article/details/129346862