shjung 2 years ago
parent
commit
058e672012
2 changed files with 14 additions and 5 deletions
  1. 8 1
      pom.xml
  2. 6 4
      src/main/resources/application.yml

+ 8 - 1
pom.xml

@@ -33,7 +33,7 @@
         <maven.compiler.target>1.8</maven.compiler.target>
         <!--main 함수가 있는 class 경로-->
         <start-class>com.its.wthr.WthrCommServerApplication</start-class>
-        <webapp.lib>C:\DEV\ITS\01.WINDOWS\22.01.YONGIN\JAVA\repository</webapp.lib>
+        <webapp.lib>C:\java\repository</webapp.lib>
         <maven.test.skip>true</maven.test.skip>
     </properties>
 
@@ -96,6 +96,13 @@
         <dependency>
             <groupId>org.springframework.boot</groupId>
             <artifactId>spring-boot-starter-web</artifactId>
+            <exclusions>
+                <!-- Exclude the Tomcat dependency -->
+                <exclusion>
+                    <groupId>org.springframework.boot</groupId>
+                    <artifactId>spring-boot-starter-tomcat</artifactId>
+                </exclusion>
+            </exclusions>
         </dependency>
         <dependency>
             <groupId>org.mybatis.spring.boot</groupId>

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

@@ -40,11 +40,13 @@ spring:
   profiles:
     active: dev
   main:
+    web-application-type: none
+    log-startup-info: true
     banner-mode: off
-  mvc:
-    view:
-      prefix: /WEB-INF/jsp/
-      suffix: .jsp
+#  mvc:
+#    view:
+#      prefix: /WEB-INF/jsp/
+#      suffix: .jsp
 
 ---
 spring: