[질문 템플릿]
1. 강의 내용과 관련된 질문인가요? (예)
2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)
3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)
[질문 내용]
cmd창에 gradlew.bat build 입력헀는데
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':bootJar'. > Entry BOOT-INF/classes/application.properties is a duplicate but no duplicate handling strategy has been set. Please refer to https://docs.gradle.org/7.2/dsl/org.gradle.api.tasks.Copy.html#org.gradle.api.tasks.Copy:duplicatesStrategy for details.
가 뜹니다..
MANIFEST.MF을 확인해보니
두 번째 줄이 빨간 줄이 뜨는데 이유가 뭘까요?
Manifest-Version: 1.0
Main-Class: org.springframework.boot.loader.JarLauncher
Start-Class: hello.hellospring.HelloSpringApplication
Spring-Boot-Version: 2.6.0
Spring-Boot-Classes: BOOT-INF/classes/
Spring-Boot-Lib: BOOT-INF/lib/
Spring-Boot-Classpath-Index: BOOT-INF/classpath.idx
Spring-Boot-Layers-Index: BOOT-INF/layers.idx