@EnableAutoConfiguration @RestController public class App { @RequestMapping("/") public String home(){ return "Hello World"; } public static void main( String[] args ) { System.out.println( "Hello World!" ); SpringApplication.run(App.class,args); } }
具体的报错信息有吗?