spring boot项目从eclipse到idea

如何将spring boot项目从 eclipse 到 idea

我的项目是一个java8 、spring boot (sssp项目) 、thymeleaf、maven 、git 。
除了直接导入原有项目,还需要添加对应模块。

主要操作有:
  • 设置默认字符编码;
  • 设置 jdk 为本机的 jdk;
  • 设置maven为本机的maven,包括maven位置,配置文件,仓库地址,maven update;
  • 加入相关模块;
  • 设置启动类。

按照以上步骤设置完毕,即可运行。

猜你喜欢

转载自blog.csdn.net/qq_35425070/article/details/86522891