1 Star 1 Fork 5

xiaokong/itheima-114-note

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
上传minio报错.txt 19.55 KB
一键复制 编辑 原始数据 按行查看 历史
xiaokong 提交于 2023-03-01 17:07 . leadnews day05
解决办法:更新虚拟机时间:https://www.hangge.com/blog/cache/detail_2499.html
如果上传minio时报如下错误,是因为虚拟机时间和正常时间相差太大,minio有校验机制,需同步下时间,执行下面三个命令
# 安装ntpdate时间同步组件
yum install -y ntpdate
# 时间和阿里云的ntp服务器时间同步一致
ntpdate ntp1.aliyun.com
#保存时间防止重启失效
hwclock --systohc
设置定时同步
参考https://blog.csdn.net/qq_37279783/article/details/118215677
E:\Develop\jdk1.8\bin\java.exe -ea -Didea.test.cyclic.buffer.size=1048576 -javaagent:D:\IDEA\lib\idea_rt.jar=53830:D:\IDEA\bin -Dfile.encoding=UTF-8 -classpath D:\IDEA\lib\idea_rt.jar;D:\IDEA\plugins\junit\lib\junit-rt.jar;D:\IDEA\plugins\junit\lib\junit5-rt.jar;E:\Develop\jdk1.8\jre\lib\charsets.jar;E:\Develop\jdk1.8\jre\lib\deploy.jar;E:\Develop\jdk1.8\jre\lib\ext\access-bridge-64.jar;E:\Develop\jdk1.8\jre\lib\ext\cldrdata.jar;E:\Develop\jdk1.8\jre\lib\ext\dnsns.jar;E:\Develop\jdk1.8\jre\lib\ext\jaccess.jar;E:\Develop\jdk1.8\jre\lib\ext\jfxrt.jar;E:\Develop\jdk1.8\jre\lib\ext\localedata.jar;E:\Develop\jdk1.8\jre\lib\ext\nashorn.jar;E:\Develop\jdk1.8\jre\lib\ext\sunec.jar;E:\Develop\jdk1.8\jre\lib\ext\sunjce_provider.jar;E:\Develop\jdk1.8\jre\lib\ext\sunmscapi.jar;E:\Develop\jdk1.8\jre\lib\ext\sunpkcs11.jar;E:\Develop\jdk1.8\jre\lib\ext\zipfs.jar;E:\Develop\jdk1.8\jre\lib\javaws.jar;E:\Develop\jdk1.8\jre\lib\jce.jar;E:\Develop\jdk1.8\jre\lib\jfr.jar;E:\Develop\jdk1.8\jre\lib\jfxswt.jar;E:\Develop\jdk1.8\jre\lib\jsse.jar;E:\Develop\jdk1.8\jre\lib\management-agent.jar;E:\Develop\jdk1.8\jre\lib\plugin.jar;E:\Develop\jdk1.8\jre\lib\resources.jar;E:\Develop\jdk1.8\jre\lib\rt.jar;F:\temp-project\day01\heima-leadnews\heima-leadnews-test\minio-demo\target\test-classes;F:\temp-project\day01\heima-leadnews\heima-leadnews-test\minio-demo\target\classes;E:\Develop\Maven-3.6.1\repository_new\io\minio\minio\7.1.0\minio-7.1.0.jar;E:\Develop\Maven-3.6.1\repository_new\com\carrotsearch\thirdparty\simple-xml-safe\2.7.1\simple-xml-safe-2.7.1.jar;E:\Develop\Maven-3.6.1\repository_new\com\google\guava\guava\29.0-jre\guava-29.0-jre.jar;E:\Develop\Maven-3.6.1\repository_new\com\google\guava\failureaccess\1.0.1\failureaccess-1.0.1.jar;E:\Develop\Maven-3.6.1\repository_new\com\google\guava\listenablefuture\9999.0-empty-to-avoid-conflict-with-guava\listenablefuture-9999.0-empty-to-avoid-conflict-with-guava.jar;E:\Develop\Maven-3.6.1\repository_new\org\checkerframework\checker-qual\2.11.1\checker-qual-2.11.1.jar;E:\Develop\Maven-3.6.1\repository_new\com\google\errorprone\error_prone_annotations\2.3.4\error_prone_annotations-2.3.4.jar;E:\Develop\Maven-3.6.1\repository_new\com\google\j2objc\j2objc-annotations\1.3\j2objc-annotations-1.3.jar;E:\Develop\Maven-3.6.1\repository_new\com\squareup\okhttp3\okhttp\3.14.9\okhttp-3.14.9.jar;E:\Develop\Maven-3.6.1\repository_new\com\squareup\okio\okio\1.17.2\okio-1.17.2.jar;E:\Develop\Maven-3.6.1\repository_new\com\fasterxml\jackson\core\jackson-annotations\2.11.4\jackson-annotations-2.11.4.jar;E:\Develop\Maven-3.6.1\repository_new\com\fasterxml\jackson\core\jackson-core\2.11.4\jackson-core-2.11.4.jar;E:\Develop\Maven-3.6.1\repository_new\com\fasterxml\jackson\core\jackson-databind\2.11.4\jackson-databind-2.11.4.jar;E:\Develop\Maven-3.6.1\repository_new\com\github\spotbugs\spotbugs-annotations\4.0.0\spotbugs-annotations-4.0.0.jar;E:\Develop\Maven-3.6.1\repository_new\net\jcip\jcip-annotations\1.0\jcip-annotations-1.0.jar;E:\Develop\Maven-3.6.1\repository_new\com\google\code\findbugs\jsr305\3.0.2\jsr305-3.0.2.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter-web\2.3.9.RELEASE\spring-boot-starter-web-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter\2.3.9.RELEASE\spring-boot-starter-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot\2.3.9.RELEASE\spring-boot-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\jakarta\annotation\jakarta.annotation-api\1.3.5\jakarta.annotation-api-1.3.5.jar;E:\Develop\Maven-3.6.1\repository_new\org\yaml\snakeyaml\1.26\snakeyaml-1.26.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter-json\2.3.9.RELEASE\spring-boot-starter-json-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\com\fasterxml\jackson\datatype\jackson-datatype-jdk8\2.11.4\jackson-datatype-jdk8-2.11.4.jar;E:\Develop\Maven-3.6.1\repository_new\com\fasterxml\jackson\datatype\jackson-datatype-jsr310\2.11.4\jackson-datatype-jsr310-2.11.4.jar;E:\Develop\Maven-3.6.1\repository_new\com\fasterxml\jackson\module\jackson-module-parameter-names\2.11.4\jackson-module-parameter-names-2.11.4.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter-tomcat\2.3.9.RELEASE\spring-boot-starter-tomcat-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\apache\tomcat\embed\tomcat-embed-core\9.0.43\tomcat-embed-core-9.0.43.jar;E:\Develop\Maven-3.6.1\repository_new\org\glassfish\jakarta.el\3.0.3\jakarta.el-3.0.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\apache\tomcat\embed\tomcat-embed-websocket\9.0.43\tomcat-embed-websocket-9.0.43.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-web\5.2.13.RELEASE\spring-web-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-beans\5.2.13.RELEASE\spring-beans-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-webmvc\5.2.13.RELEASE\spring-webmvc-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-aop\5.2.13.RELEASE\spring-aop-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-context\5.2.13.RELEASE\spring-context-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-expression\5.2.13.RELEASE\spring-expression-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter-test\2.3.9.RELEASE\spring-boot-starter-test-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-test\2.3.9.RELEASE\spring-boot-test-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-test-autoconfigure\2.3.9.RELEASE\spring-boot-test-autoconfigure-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\com\jayway\jsonpath\json-path\2.4.0\json-path-2.4.0.jar;E:\Develop\Maven-3.6.1\repository_new\net\minidev\json-smart\2.3\json-smart-2.3.jar;E:\Develop\Maven-3.6.1\repository_new\net\minidev\accessors-smart\1.2\accessors-smart-1.2.jar;E:\Develop\Maven-3.6.1\repository_new\org\ow2\asm\asm\5.0.4\asm-5.0.4.jar;E:\Develop\Maven-3.6.1\repository_new\org\slf4j\slf4j-api\1.7.30\slf4j-api-1.7.30.jar;E:\Develop\Maven-3.6.1\repository_new\jakarta\xml\bind\jakarta.xml.bind-api\2.3.3\jakarta.xml.bind-api-2.3.3.jar;E:\Develop\Maven-3.6.1\repository_new\jakarta\activation\jakarta.activation-api\1.2.2\jakarta.activation-api-1.2.2.jar;E:\Develop\Maven-3.6.1\repository_new\org\assertj\assertj-core\3.16.1\assertj-core-3.16.1.jar;E:\Develop\Maven-3.6.1\repository_new\org\hamcrest\hamcrest\2.2\hamcrest-2.2.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\jupiter\junit-jupiter\5.6.3\junit-jupiter-5.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\jupiter\junit-jupiter-api\5.6.3\junit-jupiter-api-5.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\opentest4j\opentest4j\1.2.0\opentest4j-1.2.0.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\platform\junit-platform-commons\1.6.3\junit-platform-commons-1.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\jupiter\junit-jupiter-params\5.6.3\junit-jupiter-params-5.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\jupiter\junit-jupiter-engine\5.6.3\junit-jupiter-engine-5.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\vintage\junit-vintage-engine\5.6.3\junit-vintage-engine-5.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\apiguardian\apiguardian-api\1.1.0\apiguardian-api-1.1.0.jar;E:\Develop\Maven-3.6.1\repository_new\org\junit\platform\junit-platform-engine\1.6.3\junit-platform-engine-1.6.3.jar;E:\Develop\Maven-3.6.1\repository_new\junit\junit\4.12\junit-4.12.jar;E:\Develop\Maven-3.6.1\repository_new\org\mockito\mockito-core\3.3.3\mockito-core-3.3.3.jar;E:\Develop\Maven-3.6.1\repository_new\net\bytebuddy\byte-buddy\1.10.20\byte-buddy-1.10.20.jar;E:\Develop\Maven-3.6.1\repository_new\net\bytebuddy\byte-buddy-agent\1.10.20\byte-buddy-agent-1.10.20.jar;E:\Develop\Maven-3.6.1\repository_new\org\objenesis\objenesis\2.6\objenesis-2.6.jar;E:\Develop\Maven-3.6.1\repository_new\org\mockito\mockito-junit-jupiter\3.3.3\mockito-junit-jupiter-3.3.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\skyscreamer\jsonassert\1.5.0\jsonassert-1.5.0.jar;E:\Develop\Maven-3.6.1\repository_new\com\vaadin\external\google\android-json\0.0.20131108.vaadin1\android-json-0.0.20131108.vaadin1.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-core\5.2.13.RELEASE\spring-core-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-jcl\5.2.13.RELEASE\spring-jcl-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\spring-test\5.2.13.RELEASE\spring-test-5.2.13.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\xmlunit\xmlunit-core\2.7.0\xmlunit-core-2.7.0.jar;F:\temp-project\day01\heima-leadnews\heima-leadnews-basic\heima-file-starter\target\classes;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-autoconfigure\2.3.9.RELEASE\spring-boot-autoconfigure-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter-actuator\2.3.9.RELEASE\spring-boot-starter-actuator-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-actuator-autoconfigure\2.3.9.RELEASE\spring-boot-actuator-autoconfigure-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-actuator\2.3.9.RELEASE\spring-boot-actuator-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\io\micrometer\micrometer-core\1.5.11\micrometer-core-1.5.11.jar;E:\Develop\Maven-3.6.1\repository_new\org\hdrhistogram\HdrHistogram\2.1.12\HdrHistogram-2.1.12.jar;E:\Develop\Maven-3.6.1\repository_new\org\latencyutils\LatencyUtils\2.0.3\LatencyUtils-2.0.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\springframework\boot\spring-boot-starter-log4j2\2.3.9.RELEASE\spring-boot-starter-log4j2-2.3.9.RELEASE.jar;E:\Develop\Maven-3.6.1\repository_new\org\apache\logging\log4j\log4j-slf4j-impl\2.13.3\log4j-slf4j-impl-2.13.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\apache\logging\log4j\log4j-api\2.13.3\log4j-api-2.13.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\apache\logging\log4j\log4j-core\2.13.3\log4j-core-2.13.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\apache\logging\log4j\log4j-jul\2.13.3\log4j-jul-2.13.3.jar;E:\Develop\Maven-3.6.1\repository_new\org\slf4j\jul-to-slf4j\1.7.30\jul-to-slf4j-1.7.30.jar;E:\Develop\Maven-3.6.1\repository_new\org\projectlombok\lombok\1.18.8\lombok-1.18.8.jar com.intellij.rt.execution.junit.JUnitStarter -ideVersion5 -junit4 com.heima.minio.test.MinIOTest,testUpdateImgFile
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v2.3.9.RELEASE)
2021-12-17 19:27:46.075 INFO 15228 --- [ main] c.h.m.t.MinIOTest : Starting MinIOTest on ZhangYihang with PID 15228 (started by 张伊航 in F:\temp-project\day01\heima-leadnews\heima-leadnews-test\minio-demo)
2021-12-17 19:27:46.082 INFO 15228 --- [ main] c.h.m.t.MinIOTest : No active profile set, falling back to default profiles: default
2021-12-17 19:27:47.224 INFO 15228 --- [ main] o.s.s.c.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor'
2021-12-17 19:27:48.359 INFO 15228 --- [ main] o.s.b.a.e.w.EndpointLinksResolver : Exposing 2 endpoint(s) beneath base path '/actuator'
2021-12-17 19:27:48.423 INFO 15228 --- [ main] c.h.m.t.MinIOTest : Started MinIOTest in 2.625 seconds (JVM running for 3.845)
2021-12-17 19:27:48.799 ERROR 15228 --- [ main] c.h.f.s.i.MinIOFileStorageService : minio put file error.
io.minio.errors.ErrorResponseException: The difference between the request time and the server's time is too large.
at io.minio.MinioClient.execute(MinioClient.java:1135) ~[minio-7.1.0.jar:7.1.0]
at io.minio.MinioClient.putObject(MinioClient.java:7582) ~[minio-7.1.0.jar:7.1.0]
at io.minio.MinioClient.putObject(MinioClient.java:4682) ~[minio-7.1.0.jar:7.1.0]
at io.minio.MinioClient.putObject(MinioClient.java:4881) ~[minio-7.1.0.jar:7.1.0]
at com.heima.file.service.impl.MinIOFileStorageService.uploadImgFile(MinIOFileStorageService.java:69) [classes/:?]
at com.heima.minio.test.MinIOTest.testUpdateImgFile(MinIOTest.java:28) [test-classes/:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50) [junit-4.12.jar:4.12]
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) [junit-4.12.jar:4.12]
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47) [junit-4.12.jar:4.12]
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) [junit-4.12.jar:4.12]
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.junit.runners.ParentRunner.run(ParentRunner.java:363) [junit-4.12.jar:4.12]
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) [spring-test-5.2.13.RELEASE.jar:5.2.13.RELEASE]
at org.junit.runner.JUnitCore.run(JUnitCore.java:137) [junit-4.12.jar:4.12]
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68) [junit-rt.jar:?]
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47) [junit-rt.jar:?]
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242) [junit-rt.jar:?]
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70) [junit-rt.jar:?]
java.lang.RuntimeException: 上传文件失败
at com.heima.file.service.impl.MinIOFileStorageService.uploadImgFile(MinIOFileStorageService.java:77)
at com.heima.minio.test.MinIOTest.testUpdateImgFile(MinIOTest.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.springframework.test.context.junit4.statements.RunBeforeTestExecutionCallbacks.evaluate(RunBeforeTestExecutionCallbacks.java:74)
at org.springframework.test.context.junit4.statements.RunAfterTestExecutionCallbacks.evaluate(RunAfterTestExecutionCallbacks.java:84)
at org.springframework.test.context.junit4.statements.RunBeforeTestMethodCallbacks.evaluate(RunBeforeTestMethodCallbacks.java:75)
at org.springframework.test.context.junit4.statements.RunAfterTestMethodCallbacks.evaluate(RunAfterTestMethodCallbacks.java:86)
at org.springframework.test.context.junit4.statements.SpringRepeat.evaluate(SpringRepeat.java:84)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:251)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61)
at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190)
at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:68)
at com.intellij.rt.execution.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:47)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:242)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:70)
2021-12-17 19:27:48.817 INFO 15228 --- [extShutdownHook] o.s.s.c.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor'
Process finished with exit code -1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/kdm0073/itheima-114-note.git
git@gitee.com:kdm0073/itheima-114-note.git
kdm0073
itheima-114-note
itheima-114-note
master

搜索帮助