hasan 2 years ago
parent
commit
b2251f712b

+ 2 - 2
pom.xml

@@ -5,7 +5,7 @@
5 5
     <parent>
6 6
         <groupId>org.springframework.boot</groupId>
7 7
         <artifactId>spring-boot-starter-parent</artifactId>
8
-        <version>2.6.3</version>
8
+        <version>2.6.1</version>
9 9
         <relativePath/> <!-- lookup parent from repository -->
10 10
     </parent>
11 11
     <groupId>com.szls</groupId>
@@ -14,7 +14,7 @@
14 14
     <name>nstths</name>
15 15
     <description>nstths</description>
16 16
     <properties>
17
-        <java.version>17</java.version>
17
+        <java.version>1.8</java.version>
18 18
     </properties>
19 19
     <dependencies>
20 20
         <dependency>

+ 2 - 4
src/main/resources/application.yml

@@ -1,3 +1,5 @@
1
+server:
2
+  port: 7077
1 3
 # DataSource Config
2 4
 spring:
3 5
   datasource:
@@ -7,7 +9,3 @@ spring:
7 9
     url: jdbc:mysql://36.134.100.155:3306/nstths?useSSL=false&useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC
8 10
   thymeleaf:
9 11
     check-template-location: false
10
-# Logger Config
11
-logging:
12
-  level:
13
-    com.szls.nstths: debug

+ 1 - 1
src/test/java/com/szls/nstths/NstthsApplicationTests.java

@@ -11,7 +11,7 @@ import java.util.Collections;
11 11
 @SpringBootTest
12 12
 class NstthsApplicationTests {
13 13
 
14
-    @Test
14
+    //@Test
15 15
     void contextLoads() {
16 16
 
17 17
         FastAutoGenerator.create("url", "username", "password")