springboot入门(一)

Spring boot学习: 入门例子helloworld 1.     编写pom.xml文件 2.     编写代码 为了完成这个应用,我们需要创建一个简单的Java文件,创建一个src/main/java/Example.java文件: 注意观察以上代码,我们使用了@RestController和@RequestMapping两个Spring MVC的注解:         @RestCon
相关文章
相关标签/搜索