1. Docker + CI/CD 강의 듣기 전
→ Docker + CI/CD 강의가 지급이 되었네요. 강의를 수강하기 전 Docker와 쿠버네티스에 관해 공부하면 좋을 것 같아서 좋은 영상 공유합니다!!! 영상에 나온 것 처럼 모두가 Docker를 사용할 필요는 없지만, 개념은 알고 가면 좋을 것 같습니다. 시간되실 때 한 번씩 봐주세요 (좌 → 우 순서로 보시면 됩니다)
2. 도와주세요….
→ 깃허브 액션에서 계속 Build with gradle 에러가 떠요
Run ./gradlew build
Downloading https://services.gradle.org/distributions/gradle-8.5-bin.zip
............10%.............20%............30%.............40%.............50%............60%.............70%.............80%............90%.............100%
Welcome to Gradle 8.5!
Here are the highlights of this release:
- Support for running on Java 21
- Faster first use with Kotlin DSL
- Improved error and warning messages
For more details see https://docs.gradle.org/8.5/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
Note: /home/runner/work/HHive/HHive/src/main/java/com/HHive/hhive/global/jwt/JwtAuthorizationFilter.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :compileJava
> Task :processResources
> Task :classes
> Task :resolveMainClassName
> Task :bootJar
> Task :jar
> Task :assemble
> Task :compileTestJava
> Task :processTestResources NO-SOURCE
> Task :testClasses
> Task :test
HhiveApplicationTests > contextLoads() FAILED
java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:180
Caused by: org.springframework.beans.factory.BeanCreationException at AbstractAutowireCapableBeanFactory.java:1773
Caused by: org.hibernate.service.spi.ServiceException at AbstractServiceRegistryImpl.java:276
Caused by: org.hibernate.HibernateException at DialectFactoryImpl.java:191
1 test completed, 1 failed
> Task :test FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///home/runner/work/HHive/HHive/build/reports/tests/test/index.html
* Try:
> Run with --scan to get full insights.
BUILD FAILED in 32s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
For more on this, please refer to https://docs.gradle.org/8.5/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.
7 actionable tasks: 7 executed
Error: Process completed with exit code 1.
JavaScript
복사
제가….. yaml에 db(mysql)추가, gradle 설정 변경 다 해봤는데 뭐가 문제일까요?… 제발………