[ERROR][TaskAgile] ..\target\surefire-reports for the individual test results.
2020. 11. 29. 22:10ㆍ개발 관련/ERROR
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.331 s <<< FAILURE! - in com.taskagile.TaskAgileApplicationTests
[ERROR] initializationError(com.taskagile.TaskAgileApplicationTests) Time elapsed: 0.012 s <<< ERROR!
java.lang.Exception: The class com.taskagile.TaskAgileApplicationTests is not public.
[ERROR] initializationError(com.taskagile.TaskAgileApplicationTests) Time elapsed: 0 s <<< ERROR!
java.lang.Exception: Test class should have exactly one public constructor
[INFO]
[INFO] Results:
[INFO]
[ERROR] Errors:
[ERROR] com.taskagile.TaskAgileApplicationTests.initializationError(com.taskagile.TaskAgileApplicationTests)
[ERROR] Run 1: TaskAgileApplicationTests.initializationError ? The class com.taskagile.TaskA...
[ERROR] Run 2: TaskAgileApplicationTests.initializationError ? Test class should have exactl...
[INFO]
[INFO]
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.698 s
[INFO] Finished at: 2020-11-15T01:21:39+09:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.21.0:test (default-test) on project app: There are test failures.
[ERROR]
[ERROR] Please refer to C:\Users\ttogl\practice\TaskAgile\vuejs.spring-boot.mysql\target\surefire-reports for the individual test results.
[ERROR] Please refer to dump files (if any exist) [date]-jvmRun[N].dump, [date].dumpstream and [date]-jvmRun[N].dumpstream.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
ERROR 내용
- 버전 호환성 문제
해결 방법
- 버전 다운그레이드
maven-surefire-plugin을 2.18.1로 내려라!
참고 사이트 : stackoverrun.com/ko/q/13054592
- -> 해결 x
// in /~
추가한내용
참고 사이트 :