4.0.0com.learnspringboot-server0.0.1-SNAPSHOTspringboot-helloorg.springframework.bootspring-boot-starter-parent1.5.12.RELEASEUTF-8UTF-81.8org.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-starter-testtestde.codecentricspring-boot-admin-starter-server1.5.7org.springframework.bootspring-boot-maven-plugin
package com.learn.springbootserver;import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;import de.codecentric.boot.admin.config.EnableAdminServer;@EnableAdminServer
@SpringBootApplication
public class SpringbootServerApplication {public static void main(String[] args) {SpringApplication.run(SpringbootServerApplication.class, args);}}
4.0.0com.learnspringboot-hello0.0.1-SNAPSHOTspringboot-helloorg.springframework.bootspring-boot-starter-parent1.5.12.RELEASEUTF-8UTF-81.8org.springframework.bootspring-boot-starter-weborg.springframework.bootspring-boot-starter-testtestde.codecentricspring-boot-admin-starter-client1.5.7org.springframework.bootspring-boot-maven-plugin
package com.learn.springboothello;import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;@SpringBootApplication
public class SpringbootHelloApplication {public static void main(String[] args) {SpringApplication.run(SpringbootHelloApplication.class, args);}}
本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!