Compare commits
1 Commits
main
...
66ff6dfc22
Author | SHA1 | Date | |
---|---|---|---|
|
66ff6dfc22 |
@ -1,17 +1,15 @@
|
||||
package com.example.demo;
|
||||
package com.lab1;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
@SpringBootApplication
|
||||
public class DemoApplication {
|
||||
public class Main {
|
||||
|
||||
public static void main(String[] args) {
|
||||
System.out.println("Hello, World!");
|
||||
System.out.println(new Date());
|
||||
SpringApplication.run(DemoApplication.class, args);
|
||||
System.out.println("Hello, World 2!");
|
||||
SpringApplication.run(Main.class, args);
|
||||
}
|
||||
|
||||
}
|
4
src/main/java/com/lab1/User.java
Normal file
4
src/main/java/com/lab1/User.java
Normal file
@ -0,0 +1,4 @@
|
||||
package com.lab1;
|
||||
|
||||
public class User {
|
||||
}
|
4
src/main/java/com/lab1/controller/UserController.java
Normal file
4
src/main/java/com/lab1/controller/UserController.java
Normal file
@ -0,0 +1,4 @@
|
||||
package com.lab1.controller;
|
||||
|
||||
public class UserController {
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
package com.example.demo;
|
||||
package com;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
|
||||
@SpringBootTest
|
||||
class DemoApplicationTests {
|
||||
class MainTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
Loading…
Reference in New Issue
Block a user