1. Spring boot 梳理 - 配置eclipse集成maven,并开发Spring boot hello
  2. Spring boot 梳理 - 配置eclipse集成maven,并开发Spring boot hello
  3. @RestController
    @EnableAutoConfiguration
    public class App 
    {
        @RequestMapping("/hello")
        public HashMap<String,String> hello(){
            HashMap<String,String> result=new HashMap<String,String>();
            result.put("name", "jt");
            return result;
            
        }
        public static void main( String[] args )
        {
            SpringApplication.run(App.class, args);
        }
    }

     

相关文章:

  • 2022-02-02
  • 2021-10-08
  • 2021-08-31
  • 2022-12-23
  • 2021-10-11
  • 2021-06-21
  • 2021-12-04
  • 2022-02-27
猜你喜欢
  • 2021-09-11
  • 2021-11-16
  • 2019-07-01
  • 2021-11-23
  • 2021-05-19
  • 2022-01-04
  • 2021-09-02
相关资源
相似解决方案