学习springboot2遇到的问题
1.springboot使用spring initializr创建超时问题
该网络或者
https://start.spring.io/
改为http
。
2打包到本地清除不了】
Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.1.0:clean (default-clean) on project boot01-helloword: Failed to clean project: Failed to delete D:\Users\86139\IdeaProjects\boot01-helloword\target\boot01-helloword-1.0-SNAPSHOT.jar
解决:把运行的windows窗口关闭
3.本地maven没有mysql自己写一个(解决方法重新构建)
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).
4.这里手动配置文件开启才可以用&