1、在GitHub里force喜欢的项目,获取GitHub项目地址,eclipse---import---project from git---clone uri---next---finish,项目下载完后右键项目import---existing maven projects变成maven项目,有的项目parent要configure---convert to maven project;

2、每个子项目要maven clean 和maven install,报jre or jdk错误时,要把jre换成jdk,如下图

github导入springboot  maven项目

报org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'helloWorldSpringBoot': Injection of autowired dependencies failed; nested exception is java.lang.IllegalArgumentException: Could not resolve placeholder 'name' in value "${name}"

错误时,解决办法:parent项目convert to maven project ,然后maven clean 和 maven install。

3、数据库配置改了后启动项目

 

相关文章:

  • 2021-11-02
  • 2021-09-07
  • 2021-09-16
  • 2021-09-29
  • 2021-06-01
  • 2021-11-06
  • 2021-12-07
  • 2021-09-10
猜你喜欢
  • 2022-12-23
  • 2021-05-12
  • 2022-01-08
  • 2021-09-21
  • 2021-07-01
  • 2021-05-30
  • 2022-01-02
相关资源
相似解决方案