【 使用环境 】测试环境
【 OB or 其他组件 】ODC
【 使用版本 】3.3.2
【问题描述】[2022-10-12 11:28:45.497][main][,][ERROR][com.alipay.odc.config.BeanCreateFailedAnalyzer][21]: bean create failed
【复现路径】mac安装ODC,打开时java异常退出报错
【问题现象及影响】
Bean create failed, beanName=odcServer, message=Error creating bean with name ‘odcServer’: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘localObjectStorageFacade’ defined in URL [jar:file:/private/var/folders/18/g0z2vyb15x94sbybr1cxr7x40000gp/T/AppTranslocation/E6B7ECD0-4F98-436A-A47D-A0310D7073EF/d/OceanBase%20Developer%20Center.app/Contents/Resources/libraries/java/odc.jar!/BOOT-INF/classes!/com/oceanbase/odc/service/objectstorage/LocalObjectStorageFacade.class]: Unsatisfied dependency expressed through constructor parameter 2; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘metadbTransactionManager’ defined in class path resource [com/alipay/odc/config/DataSourceConfiguration.class]: Unsatisfied dependency expressed through method ‘metadbTransactionManager’ parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name ‘metadbEntityManagerFactory’ defined in class path resource [com/alipay/odc/config/DataSourceConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.MappingException: Could not get constructor for org.hibernate.persister.entity.SingleTableEntityPersister
Action:
please check configuration then restart odc-server
[2022-10-12 11:29:25.834][Thread-0][,][INFO][com.alipay.odc.OdcServer][72]: Oceanbase Developer Center exits, systemInfo={startTime=2022-10-12T11:29:03.198+0800, garbageCollector=41, heap=init = 268435456(262144K) used = 72542048(70841K) committed = 356515840(348160K) max = 4294967296(4194304K), nonHeap=init = 7667712(7488K) used = 91999080(89842K) committed = 93913088(91712K) max = -1(-1K)}
【附件】