|
|
|
|
@ -1,8 +1,12 @@
|
|
|
|
|
package com.ssm.first;
|
|
|
|
|
|
|
|
|
|
public class TestFirst {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
//1.初始化Spring容器,加载配置文件
|
|
|
|
|
import org.springframework.boot.SpringApplication;
|
|
|
|
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@SpringBootApplication
|
|
|
|
|
public class TestFirst {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
SpringApplication.run(TestFirst.class, args);
|
|
|
|
|
System.out.println("Hello Spring!");
|
|
|
|
|
}
|
|
|
|
|
}
|