Spring Boot学习之获取配置文件中的值

Jackey Java 2,521 次浏览 0 评论 ,
  创建配置文件:site.properties site.name = gopher site.url = https://ijackey.com   创建获取配置参数的实体类:SiteConfig.java package com.example.demo.config; import org.springframework.boot.c...

Spring Boot 学习之 IDEA 创建 Spring Boot 项目

Jackey Java 2,704 次浏览 0 评论 ,
点击 File-new-project 选择【Spring Initializr】,注意右边的选项,Default: https://start.spring.io/,这个站点经常会访问不到,如果访问不到,需要更改成:Custom,然后在框内输入:https://start.aliyun.com/ 这...
Go