From bf3b082bdf2eea9389d57202bcdcbda49fcd2f3d Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 17 Feb 2024 18:21:33 -0800 Subject: [PATCH] Webconfig. --- wise-api/src/main/java/com/wisemapping/Application.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wise-api/src/main/java/com/wisemapping/Application.java b/wise-api/src/main/java/com/wisemapping/Application.java index 5283b2f5..9909ddda 100644 --- a/wise-api/src/main/java/com/wisemapping/Application.java +++ b/wise-api/src/main/java/com/wisemapping/Application.java @@ -2,6 +2,7 @@ package com.wisemapping; import com.wisemapping.config.common.CommonConfig; import com.wisemapping.config.rest.RestAppConfig; +import com.wisemapping.config.rest.WebConfig; import org.springframework.boot.WebApplicationType; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.context.annotation.Bean; @@ -12,7 +13,7 @@ public class Application { public static void main(String[] args) { new SpringApplicationBuilder() .parent(CommonConfig.class).web(WebApplicationType.NONE) - .child(RestAppConfig.class).web(WebApplicationType.SERVLET) + .child(RestAppConfig.class, WebConfig.class).web(WebApplicationType.SERVLET) // .sibling(MvcAppConfig.class).web(WebApplicationType.SERVLET) .run(args); }