2016年12月6日 星期二

test

測試程式碼


package com.test.springboot;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

public class SimpleController {


 String home() {
 return "Hello Spring Boot 1.4.2";
 }

 public static void main(String[] args) throws Exception {
 SpringApplication.run(SimpleController.class, args);
 }
}


沒有留言:

張貼留言