<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                - 1.通過IDEA或者Eclipse的spring Initialize創建 ![](https://box.kancloud.cn/7868c783faed7f3179d820de0a1cf85b_813x688.png) ![](https://box.kancloud.cn/445178af4ce3ccb4e3ef027c5a053812_322x129.png) 在src/main\com.example.demo編寫controller ~~~ @Controller public class HelloController { @RequestMapping("/hello") @ResponseBody public String helloPage(){ return "hello springboot"; } } ~~~ - 2.訪問http://start.spring.io/創建springboot的骨架 ![](https://box.kancloud.cn/06843111da005f85444d0d4b0dd73b64_1298x505.png) ![](https://box.kancloud.cn/c5f92488e2368578c5ca8306a3dd3e00_1132x250.png) 然后通過import導入到IDEA中 ![](https://box.kancloud.cn/15ec9769afdfd80f3be7d68cc2bc4c73_440x151.png) - 3.自己手動搭建 ![](https://box.kancloud.cn/bc8696ff0d611516d58ffef7ba047671_816x703.png) ![](https://box.kancloud.cn/8706b3d6fda5ebf190e9acb1c6206c0d_807x131.png) ![](https://box.kancloud.cn/2a297422d8f57b6644ecc5bdafd83a01_809x66.png) 1.配置pom文件 ~~~ //pom.xml <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.1.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <properties> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> </dependencies> ~~~ 2.編寫控制器Controller ~~~ @Controller public class HelloController { @RequestMapping("/hello") @ResponseBody public String helloPage(){ return "Spring3"; } } ~~~ 3.編寫配置類 ~~~ //AppConfig類 @SpringBootApplication public class AppConfig { public static void main(String[] args) { SpringApplication.run(AppConfig.class,args); } } ~~~ 4.運行main方法,瀏覽器訪問:http://localhost:8080/hello
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看