[INFO] /D:/Work/BIG_project/week2/base/gym-manage/gym-manage-api/gym-checkIn/src/main/java/cn/novalon/gym/manage/checkIn/service/impl/CheckServiceImpl.java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。 [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ gym-checkIn --- [INFO] Copying 1 resource from src\test\resources to target\test-classes [INFO] [INFO] --- compiler:3.11.0:testCompile (default-testCompile) @ gym-checkIn --- [INFO] Changes detected - recompiling the module! :dependency [INFO] Compiling 1 source file with javac [debug release 21] to target\test-classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /D:/Work/BIG_project/week2/base/gym-manage/gym-manage-api/gym-checkIn/src/test/java/cn/novalon/gym/manage/checkin/CheckInModuleTest.java:[130,76] 对于thenReturn(reactor.core.publisher.Flux), 找不到合适的方法 方法 org.mockito.stubbing.OngoingStubbing.thenReturn(reactor.core.publisher.Mono)不适用 (参数不匹配; 不存在类型变量T的实例, 以使reactor.core.publisher.Flux与reactor.core.publisher.Mono一致) 方法 org.mockito.stubbing.OngoingStubbing.thenReturn(reactor.core.publisher.Mono,reactor.core.publisher.Mono...)不适用 (参数不匹配; 不存在类型变量T的实例, 以使reactor.core.publisher.Flux与reactor.core.publisher.Mono一致) [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Gym Manage API 1.0.0: [INFO] [INFO] Gym Manage API ..................................... SUCCESS [ 1.062 s] [INFO] Manage Common ...................................... SUCCESS [ 5.495 s] [INFO] Manage Sys ......................................... SUCCESS [ 22.221 s] [INFO] Manage Gateway ..................................... SUCCESS [ 12.296 s] [INFO] Manage Notify ...................................... SUCCESS [ 7.560 s] [INFO] Manage File ........................................ SUCCESS [ 6.215 s] [INFO] Manage DB .......................................... SUCCESS [ 9.864 s] [INFO] Gym Member ......................................... SUCCESS [ 4.100 s] [INFO] gym-groupCourse .................................... SUCCESS [ 8.439 s] [INFO] Gym CheckIn ........................................ FAILURE [ 4.190 s] [INFO] Gym Payment ........................................ SKIPPED [INFO] gym-dataCount ...................................... SKIPPED [INFO] Gym Auth ........................................... SKIPPED [INFO] Manage App ......................................... SKIPPED [INFO] Manage Audit ....................................... SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:21 min [INFO] Finished at: 2026-06-28T15:59:53+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.11.0:testCompile (default-testCompile) on project gym-checkIn: Compilation failure [ERROR] /D:/Work/BIG_project/week2/base/gym-manage/gym-manage-api/gym-checkIn/src/test/java/cn/novalon/gym/manage/checkin/CheckInModuleTest.java:[130,76] 对于thenReturn(reactor.core.publisher.Flux), 找不到合适的方法 [ERROR] 方法 org.mockito.stubbing.OngoingStubbing.thenReturn(reactor.core.publisher.Mono)不适用 [ERROR] (参数不匹配; 不存在类型变量T的实例, 以使reactor.core.publisher.Flux与reactor.core.publisher.Mono一致) [ERROR] 方法 org.mockito.stubbing.OngoingStubbing.thenReturn(reactor.core.publisher.Mono,reactor.core.publisher.Mono...)不 适用 [ERROR] (参数不匹配; 不存在类型变量T的实例, 以使reactor.core.publisher.Flux与reactor.core.publisher.Mono一致) [ERROR] [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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :gym-checkIn