zoukankan      html  css  js  c++  java
  • SpringBoot1创建项目

    寄语:springBoot这一系列文章是我自己在学习的时候摘抄,总结的,参考的是码云的程序猿DD,他的博客是:http://blog.didispace.com/springbootproperties,感谢他的分享!

    1.访问:http://start.spring.io/,生成一个基础springBoot的maven包

    2.导入之后,运行Application里面的main方法即是启动项目,注意Application一定要放在包的最外层,才能扫描到所有的文件,像下面这样去建包

    3.配置数据库

    #端口号

    server.port=8085

    4.pom引入web依赖

    <!-- web模块 -->
    <dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-web</artifactId>
    </dependency>

    5.

    这样一个简单的web就出来了

  • 相关阅读:
    线程同步技术
    线程调用
    进程与线程
    网络配置
    vi
    文件系统
    系统管理命令
    Linux常用命令
    Shell编程
    新版chrome touch警告处理办法
  • 原文地址:https://www.cnblogs.com/ajax-li/p/9116450.html
Copyright © 2011-2022 走看看