diandian的gravatar头像
diandian 2017-06-26 19:00:33

springboot入门demo实例

v1.0【2017.6.26】 创建一个基础的springboot,包含配置文件的使用,Controller简单使用,模板的简单配置,暂不包含持久层,同时readMe.txt和创建过程.txt做记录使用。

创建项目,我使用的是idea,同时也可以直接通过http://start.spring.io/ 将相关版本信息等填写直接生成项目压缩包;

1.项目目录:

springboot入门demo实例

2.pom.xml文件

在自动创建的基础上增加了模板配置

springboot入门demo实例

3.application.yml

springboot入门demo实例

4.MeProperties 映射application.yml的实体对象

springboot入门demo实例5.HelloController

springboot入门demo实例

运行结果:

springboot入门demo实例


打赏

文件名:spring_boot.rar,文件大小:12444.673K 下载
  • /
      • /spring_boot
        • /spring_boot/.gitignore
          • /spring_boot/.idea
            • /spring_boot/.idea/compiler.xml
              • /spring_boot/.idea/copyright
                • /spring_boot/.idea/copyright/profiles_settings.xml
            • /spring_boot/.idea/encodings.xml
              • /spring_boot/.idea/libraries
                • /spring_boot/.idea/libraries/Maven__ch_qos_logback_logback_classic_1_1_11.xml
                • /spring_boot/.idea/libraries/Maven__ch_qos_logback_logback_core_1_1_11.xml
                • /spring_boot/.idea/libraries/Maven__com_fasterxml_classmate_1_3_3.xml
                • /spring_boot/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_annotations_2_8_0.xml
                • /spring_boot/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_core_2_8_8.xml
                • /spring_boot/.idea/libraries/Maven__com_fasterxml_jackson_core_jackson_databind_2_8_8.xml
最代码最近下载分享源代码列表最近下载
whfuai  LV14 2024年4月21日
2410068425  LV23 2024年1月11日
kaohamaququ  LV1 2023年12月22日
dddDDDmmmyyy  LV1 2023年6月12日
liuxiao2  LV16 2022年9月23日
wyzl3321  LV25 2022年8月20日
ewan007  LV30 2022年6月27日
币圈老大  LV17 2022年3月16日
笛卡尔积  LV6 2021年11月25日
wsupsup  LV16 2021年9月23日
最代码最近浏览分享源代码列表最近浏览
ma406805131  LV19 2024年12月8日
zhuchuanhu2  LV4 2024年10月8日
gql0720  LV1 2024年9月25日
yimaoermao  LV1 2024年9月21日
微信网友_7134912998903808  LV15 2024年9月11日
wanjie 2024年8月20日
暂无贡献等级
zhouliuchuang  LV6 2024年7月3日
fengst 2024年6月18日
暂无贡献等级
CaoMiYiRenTang  LV2 2024年5月28日
一起加油  LV5 2024年5月27日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友