加了requestmapping注解在浏览器还是不能访问
关闭所有java.exe进程,重新run一遍
@SpringBootApplication //@EnableAutoConfiguration @RestController public class App { public static void main( String[] args ) { System.out.println( "Hello World!" ); SpringApplication.run(App.class, args); } @GetMapping("test") public String test(){ return "success"; } }