标签:ann mapping bsp boot1 detail org article demo image
1.eclipse gradle 插件
HELP----MarketPlace----搜索 buildship点击安装
WINDOW----preferences--gradle 配置安装好的gradle
2.引入demo工程
3.HelloWorldController
package com.song.spring.boot.blog.springboot1.controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class HelloController {
@RequestMapping("hello")
public String hello() {
return "Hello WORLD";
}
}
4.访问
标签:ann mapping bsp boot1 detail org article demo image
原文地址:https://www.cnblogs.com/xiaoyezi/p/9295784.html