From 187e2016f0e13da3042985332d4da979860700f6 Mon Sep 17 00:00:00 2001 From: Pascal Grimaud Date: Sat, 27 Nov 2021 09:52:53 +0100 Subject: [PATCH] Spring Boot Web: fix package --- .../springboot/web/domain/SpringBootWebDomainService.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/tech/jhipster/light/generator/server/springboot/web/domain/SpringBootWebDomainService.java b/src/main/java/tech/jhipster/light/generator/server/springboot/web/domain/SpringBootWebDomainService.java index 2365db52cd1..7c6881a1f19 100644 --- a/src/main/java/tech/jhipster/light/generator/server/springboot/web/domain/SpringBootWebDomainService.java +++ b/src/main/java/tech/jhipster/light/generator/server/springboot/web/domain/SpringBootWebDomainService.java @@ -3,6 +3,7 @@ import static tech.jhipster.light.common.domain.FileUtils.getPath; import static tech.jhipster.light.generator.project.domain.Constants.MAIN_JAVA; import static tech.jhipster.light.generator.project.domain.Constants.TEST_JAVA; +import static tech.jhipster.light.generator.project.domain.DefaultConfig.PACKAGE_NAME; import static tech.jhipster.light.generator.server.springboot.web.domain.SpringBootWeb.*; import java.util.List; @@ -63,6 +64,8 @@ public void addSpringBootUndertow(Project project) { @Override public void addExceptionHandler(Project project) { + project.addDefaultConfig(PACKAGE_NAME); + buildToolService.addProperty(project, "problem-spring", SpringBootWeb.problemSpringVersion()); buildToolService.addProperty(project, "problem-spring-web", "\\${problem-spring.version}");