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