2. idea新建springboot+maven项目

    技术2023-10-02  76

    idea新建springboot+maven项目

    1. 打开idea,创建项目

    2. 选择Maven——选择jdk——勾选Create from archetype

    3. 选择Spring Initializr——default——next

    4. 修改一些基本信息,next

    5. 选择自己需要的依赖。

    我选了Web下的Spring Web、Template Engines下的Thymeleaf和SQL下的Spring Data JPA以及MySQL Driver

    创建成功啦!

    6. 创建项目中遇到的问题

    ·idea创建springboot项目,Spring Initializr报错Error:connect timed out

    ·idea创建maven项目依赖标红问题

    Processed: 0.018, SQL: 10