Web

[1028 gradle] 에러모음

1. gradle 기본적인 SpringBootApplication 클래스인식못함

event

gradle 기본적인 SpringBootApplication 클래스인식못함

finding info top100itw.medium.com/intellij-gradle-build-%EC%98%A4%EB%A5%98-ad71de3c9ced
solution .idea를 삭제

 

 

2. gradle 실행시 비정상작동 

event 인텔리제이 gradle 실행후 테스트가 완료가 안되고 오류메시지. 
INFO: 0 containers and 4 tests were Method or class mismatch
finding info

인텔리j 
intellij-support.jetbrains.com/hc/en-us/community/posts/360004383639-How-to-add-Gradle-options

You can control the verbosity of warnings on the console with the following options:

-Dorg.gradle.warning.mode=(all,fail,none,summary)

Specify warning mode via Gradle properties. Different modes described immediately below.

--warning-mode=(all,fail,none,summary)

Specifies how to log warnings. Default is summary.

Set to all to log all warnings.

Set to fail to log all warnings and fail the build if there are any warnings.

Set to summary to suppress all warnings and log a summary at the end of the build.

Set to none to suppress all warnings, including the summary at the end of the build

docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings

devmainapps.blogspot.com/2020/06/use-warning-modeall-to-show-individual.html

solution Build, Execution, Deployment > Compiler > shared build process VM option

--warning-mode=all 추가. 

log: 

4월 27, 2021 2:41:15 오후 org.junit.platform.launcher.core.EngineDiscoveryOrchestrator lambda$logTestDescriptorExclusionReasons$7
INFO: 0 containers and 4 tests were Method or class mismatch
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.8.3/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 5s

'Web' 카테고리의 다른 글

[1028 운영] 운영 정보 모음  (0) 2021.05.02
[1028 shell script] 작성해본 기능 정리  (0) 2021.05.02
[1028 코딩] 코딩팁 모음  (0) 2021.05.02
[1028 mysql,mariadb,oracle]  (0) 2021.04.30
[1028 Docker] 도커 mariadb, vi 외  (0) 2021.04.27