package com.ntlab.irisserver.resources; import org.springframework.stereotype.Component; import javax.ws.rs.GET; import javax.ws.rs.Path; @Component @Path("/hello") public class HelloWorld { @GET public String getHello() { return "@Controllerを追加。12/15-17:40"; } }