第一个springboot-web快速入门工程

This commit is contained in:
2025-09-13 16:46:17 +08:00
parent c4571b5d80
commit 3502bd304b
12 changed files with 355 additions and 1 deletions

View File

@@ -1,7 +1,10 @@
package com.inmind;
//import org.slf4j.Logger;
public class HelloWorld {
public static void main(String[] args) {
System.out.println("hello maven");
// Logger logger;
}
}

View File

@@ -0,0 +1,20 @@
import org.junit.Test;
import org.slf4j.Logger;
public class DemoTest {
@Test
public void test(){
System.out.println("这是单元测试1");
}
@Test
public void test1(){
System.out.println("这是单元测试2");
}
@Test
public void test2(){
System.out.println("这是单元测试3");
}
}