quarkiverse / quarkus-mybatis

Quarkus MyBatis Extension
Apache License 2.0
88 stars 33 forks source link

Tests with Quarkus SNAPSHOT is failing with creating synthetic bean #395

Closed zhfeng closed 7 months ago

zhfeng commented 7 months ago

see https://github.com/quarkiverse/quarkus-mybatis/actions/runs/7579710826

2024-01-19 05:55:59,720 WARN  [io.qua.myb.run.MyBatisRecorder] (main) Error executing SQL Script insert-derby.sql: jakarta.enterprise.inject.CreationException: Error creating synthetic bean [svmyPJfgLUOBzT7zpcDjIrSgwlc]: jakarta.enterprise.inject.CreationException: Synthetic bean instance for io.quarkus.datasource.runtime.DataSourceSupport not initialized yet: io_quarkus_datasource_runtime_DataSourceSupport_f2cd6de2f5ebdf7a97f46dda37f1938b9d43bde4
    - a synthetic bean initialized during RUNTIME_INIT must not be accessed during STATIC_INIT
    - RUNTIME_INIT build steps that require access to synthetic beans initialized during RUNTIME_INIT should consume the SyntheticBeansRuntimeInitBuildItem

Also