슬픈강낭콩

There were failing tests. See the report at 빌드 오류 본문

개인프로젝트/mix

There were failing tests. See the report at 빌드 오류

슬픈강낭콩 2023. 1. 18. 16:49

MixApplicationTests > contextLoads() FAILED
    java.lang.IllegalStateException at DefaultCacheAwareContextLoaderDelegate.java:98
        Caused by: org.springframework.beans.factory.BeanCreationException at ConstructorResolver.java:658
            Caused by: org.springframework.beans.BeanInstantiationException at SimpleInstantiationStrategy.java:185
                Caused by: org.springframework.boot.autoconfigure.r2dbc.ConnectionFactoryOptionsInitializer$ConnectionFactoryBeanCreationException at ConnectionFactoryOptionsInitializer.java:125

1 test completed, 1 failed

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':test'.
> There were failing tests. See the report at: file:///C:/Users/aaaa/Desktop/mixmaster-master/build/reports/tests/test/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 13s

> Task :test FAILED
10 actionable tasks: 4 executed, 6 up-to-date
오후 4:37:47: Execution finished 'build'.

 

 

마리아DB를 디펜던시를 추가햇더니 오류가 생겼다.

 

1. 이것을 추가하고

testImplementation("org.junit.vintage:junit-vintage-engine") {
    exclude group: "org.hamcrest", module: "hamcrest-core"
}

 

2. import를 주피터에서

주피터

으로바꾸니까 해결했다.. 허무하다 근데 기쁘다....

import org.junit.Test;