hibernate报错:org.hibernate.boot.MappingNotFoundException: Mapping (RESOURCE) not found

本文介绍了 Hibernate 中因映射配置文件路径设置错误导致的 MappingNotFoundException 异常,并给出了具体的解决办法。
org.hibernate.boot.MappingNotFoundException: Mapping (RESOURCE) not found : entity.Customer.hbm.xml : origin(entity.Customer.hbm.xml)
    at org.hibernate.boot.spi.XmlMappingBinderAccess.bind(XmlMappingBinderAccess.java:56)
    at org.hibernate.boot.MetadataSources.addResource(MetadataSources.java:275)
    at org.hibernate.boot.cfgxml.spi.MappingReference.apply(MappingReference.java:70)
    at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:469)
    at org.hibernate.boot.internal.MetadataBuilderImpl.build(MetadataBuilderImpl.java:85)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:689)
    at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:724)
    at hibernate.Dome1.test1(Dome1.java:38)
    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:47)
    at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44)
    at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:271)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:70)
    at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
    at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
    at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
    at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
    at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
    at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
    at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
    at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:50)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:459)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:675)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:382)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:192)

这个错误可能是因为配置文件hibernate.cfg.xml里mapping写错了
我原来的mapping是这样的

<!-- 映射配置文件的位置 -->
        <mapping resource="entity.Customer.hbm.xml" />

百度一波之后发现是地址错误,正确的写法为

<mapping resource="entity/Customer.hbm.xml" />

就是把 . 变为 /

nohup: 忽略输入 SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/usr/local/code/mapletr4j-2.1.0-alpha-2/mapletr4j-2.1.0-alpha-2-exec.jar!/BOOT-INF/lib/logback-classic-1.2.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/code/mapletr4j-2.1.0-alpha-2/mapletr4j-2.1.0-alpha-2-exec.jar!/BOOT-INF/lib/log4j-slf4j-impl-2.13.3.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/code/mapletr4j-2.1.0-alpha-2/mapletr4j-2.1.0-alpha-2-exec.jar!/BOOT-INF/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/usr/local/code/mapletr4j-2.1.0-alpha-2/mapletr4j-2.1.0-alpha-2-exec.jar!/BOOT-INF/lib/slf4j-reload4j-1.7.36.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder] _______ _______ _________ _ _______ _______ _______ _______ _______ _ _______ _________ _______ ___ _________ ( ____ )( ___ )\__ __/( ( /|( ____ \( ____ \ ( )( ___ )( ____ )( \ ( ____ \\__ __/( ____ ) / )\__ _/ | ( )|| ( ) | ) ( | \ ( || ( \/| ( \/ | () () || ( ) || ( )|| ( | ( \/ ) ( | ( )| / /) | ) ( | (____)|| (___) | | | | \ | || (__ | (__ | || || || (___) || (____)|| | | (__ | | | (____)| / (_) (_ | | | __)| ___ | | | | (\ \) || __) | __) | |(_)| || ___ || _____)| | | __) | | | __)(____ _) | | | (\ ( | ( ) | | | | | \ || ( | ( | | | || ( ) || ( | | | ( | | | (\ ( ) ( | | | ) \ \__| ) ( |___) (___| ) \ || ) | (____/\ | ) ( || ) ( || ) | (____/\| (____/\ | | | ) \ \__ | ||\_) ) |/ \__/|/ \|\_______/|/ )_)|/ (_______/ |/ \||/ \||/ (_______/(_______/ )_( |/ \__/ (_)(____/ 23:11:05.686 [main] INFO com.rainfe.WebApplication - Starting WebApplication v2.1.0-alpha-2 using Java 1.8.0_312 on localhost.localdomain with PID 97111 (/usr/local/code/mapletr4j-2.1.0-alpha-2/mapletr4j-2.1.0-alpha-2-exec.jar started by root in /usr/local/code/mapletr4j-2.1.0-alpha-2) 23:11:05.695 [main] INFO com.rainfe.WebApplication - The following profiles are active: db,activiti,kkfileview 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'parameterSettingMapper' and 'com.rainfe.mapletr.dps.parameterSetting.mapper.ParameterSettingMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetApiMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetApiMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetApiParamMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetApiParamMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetComponentMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetComponentMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetDocumentMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetDocumentMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetFileMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetFileMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetGroupMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetGroupMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetSourceMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetSourceMapper' mapperInterface. Bean already defined with the same name! 23:11:53.488 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetSqlMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetSqlMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetTransformMapper' and 'com.rainfe.mapletr.bigscreen.module.dataset.mapper.DatasetTransformMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'datasetSocketMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DatasetSocketMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designComponentsMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignComponentsMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designDataMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignDataMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designGeoDataMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignGeoDataMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designGroupMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignGroupMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designImgGroupMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignImgGroupMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designImgPoolMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignImgPoolMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designModelMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignModelMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'designShareMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.DesignShareMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sqlExecuteMapper' and 'com.rainfe.mapletr.bigscreen.module.design.mapper.SqlExecuteMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'cameraMapper' and 'com.rainfe.mapletr.bigscreen.module.easymedia.mapper.CameraMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysAccessMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysAccessMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysDictMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysDictMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysLogMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysLogMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysMailJobMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysMailJobMapper' mapperInterface. Bean already defined with the same name! 23:11:53.489 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysPermitsDataMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysPermitsDataMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysPermitsMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysPermitsMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysPermitsUserMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysPermitsUserMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysRoleAccessMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysRoleAccessMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysRoleMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysRoleMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'sysUserMapper' and 'com.rainfe.mapletr.bigscreen.module.system.mapper.SysUserMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtAccountMapper' and 'com.rainfe.mapletr.account.mapper.DmtAccountMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtDataSourceMapper' and 'com.rainfe.mapletr.account.mapper.DmtDataSourceMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtLogicModelDiagramMapper' and 'com.rainfe.mapletr.account.mapper.DmtLogicModelDiagramMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtRelationLineMapper' and 'com.rainfe.mapletr.account.mapper.DmtRelationLineMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtRoleMapper' and 'com.rainfe.mapletr.account.mapper.DmtRoleMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtRoleUserMapper' and 'com.rainfe.mapletr.account.mapper.DmtRoleUserMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dmtUserMapper' and 'com.rainfe.mapletr.account.mapper.DmtUserMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'testUserMapper' and 'com.rainfe.mapletr.account.mapper.TestUserMapper' mapperInterface. Bean already defined with the same name! 23:11:53.490 [main] WARN o.m.s.mapper.ClassPathMapperScanner - Skipping MapperFactoryBean with name 'dataToolMapper' and 'com.rainfe.mapletr.dmt.datatool.mapper.DataToolMapper' mapperInterface. Bean already defined with the same name! 23:11:55.999 [main] INFO c.u.j.c.EnableEncryptablePropertiesBeanFactoryPostProcessor - Post-processing PropertySource instances 23:11:56.001 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource configurationProperties [class org.springframework.boot.context.properties.source.ConfigurationPropertySourcesPropertySource 23:11:56.010 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletConfigInitParams [class org.springframework.core.env.PropertySource$StubPropertySource 23:11:56.010 [main] INFO c.u.j.EncryptablePropertySourceConverter - Skipping PropertySource servletContextInitParams [class org.springframework.core.env.PropertySource$StubPropertySource 23:11:56.012 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemProperties [org.springframework.core.env.PropertiesPropertySource] to EncryptableMapPropertySourceWrapper 23:11:56.013 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource systemEnvironment [org.springframework.boot.env.SystemEnvironmentPropertySourceEnvironmentPostProcessor$OriginAwareSystemEnvironmentPropertySource] to EncryptableSystemEnvironmentPropertySourceWrapper 23:11:56.013 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource random [org.springframework.boot.env.RandomValuePropertySource] to EncryptablePropertySourceWrapper 23:11:56.013 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource Config resource 'file [config/application-activiti.properties]' via location 'config/application.properties' [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper 23:11:56.013 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource Config resource 'file [config/application-db.properties]' via location 'config/application.properties' [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper 23:11:56.014 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource Config resource 'file [config/application.properties]' via location 'config/application.properties' [org.springframework.boot.env.OriginTrackedMapPropertySource] to EncryptableMapPropertySourceWrapper 23:11:56.014 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource class path resource [conf/rest-jackson-configuration.properties] [org.springframework.core.env.CompositePropertySource] to EncryptableEnumerablePropertySourceWrapper 23:11:56.014 [main] INFO c.u.j.EncryptablePropertySourceConverter - Converting PropertySource class path resource [config/ureport.properties] [org.springframework.core.io.support.ResourcePropertySource] to EncryptableMapPropertySourceWrapper 23:11:58.811 [main] INFO c.u.j.f.DefaultLazyPropertyFilter - Property Filter custom Bean not found with name 'encryptablePropertyFilter'. Initializing Default Property Filter 23:11:58.836 [main] INFO c.u.j.r.DefaultLazyPropertyResolver - Property Resolver custom Bean not found with name 'encryptablePropertyResolver'. Initializing Default Property Resolver 23:11:58.844 [main] INFO c.u.j.d.DefaultLazyPropertyDetector - Property Detector custom Bean not found with name 'encryptablePropertyDetector'. Initializing Default Property Detector 23:12:05.330 [main] WARN c.alibaba.druid.pool.DruidDataSource - removeAbandoned is true, not use in production. 23:12:06.572 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} inited 23:12:08.365 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.OrganizationPortalId 23:12:08.366 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.OrganizationPortalId 23:12:08.369 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:08.369 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:08.371 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.PersonalGroupUserId 23:12:08.371 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.PersonalGroupUserId 23:12:08.375 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrganizationId 23:12:08.376 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrganizationId 23:12:08.377 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserRoleId 23:12:08.377 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserRoleId 23:12:08.379 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:08.379 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:08.381 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:08.381 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:22.305 [main] INFO o.a.coyote.http11.Http11NioProtocol - Initializing ProtocolHandler ["http-nio-2000"] 23:12:22.306 [main] INFO o.a.catalina.core.StandardService - Starting service [Tomcat] 23:12:22.307 [main] INFO o.a.catalina.core.StandardEngine - Starting Servlet engine: [Apache Tomcat/9.0.41] 23:12:22.574 [main] INFO o.a.c.c.C.[Tomcat].[localhost].[/] - Initializing Spring embedded WebApplicationContext _ _ |_ _ _|_. ___ _ | _ | | |\/|_)(_| | |_\ |_)||_|_\ / | 3.5.3.2 23:12:34.679 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.OrganizationPortalId 23:12:34.680 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.OrganizationPortalId 23:12:34.682 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:34.683 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:34.684 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.PersonalGroupUserId 23:12:34.685 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.PersonalGroupUserId 23:12:34.688 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrganizationId 23:12:34.688 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrganizationId 23:12:34.689 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserRoleId 23:12:34.689 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserRoleId 23:12:34.690 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:34.691 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:34.692 [main] WARN org.hibernate.mapping.RootClass - HHH000038: Composite-id class does not override equals(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:12:34.692 [main] WARN org.hibernate.mapping.RootClass - HHH000039: Composite-id class does not override hashCode(): com.rainfe.mapletr.dps.entity.UserOrgNameId 23:13:00.251 [main] WARN o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initServer': Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: no jniavutil in java.library.path 23:13:00.365 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closing ... 23:13:00.386 [main] INFO c.alibaba.druid.pool.DruidDataSource - {dataSource-1} closed 23:13:00.390 [main] INFO o.a.catalina.core.StandardService - Stopping service [Tomcat] 23:13:00.396 [main] WARN o.a.c.loader.WebappClassLoaderBase - The web application [ROOT] appears to have started a thread named [Thread-9] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread: java.lang.Thread.sleep(Native Method) com.rainfe.mapletr.dps.service.impl.OnlineUserServiceImpl.lambda$static$0(OnlineUserServiceImpl.java:76) com.rainfe.mapletr.dps.service.impl.OnlineUserServiceImpl$$Lambda$894/455706711.run(Unknown Source) java.lang.Thread.run(Thread.java:748) 23:13:00.484 [main] ERROR o.s.boot.SpringApplication - Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'initServer': Invocation of init method failed; nested exception is java.lang.UnsatisfiedLinkError: no jniavutil in java.library.path at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:160) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsBeforeInitialization(AbstractAutowireCapableBeanFactory.java:429) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1780) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:609) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:531) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:944) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:923) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:588) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:144) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:767) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:759) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:426) at org.springframework.boot.SpringApplication.run(SpringApplication.java:326) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1311) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1300) at com.rainfe.WebApplication.main(WebApplication.java:25) 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.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49) at org.springframework.boot.loader.Launcher.launch(Launcher.java:107) at org.springframework.boot.loader.Launcher.launch(Launcher.java:58) at org.springframework.boot.loader.JarLauncher.main(JarLauncher.java:88) Caused by: java.lang.UnsatisfiedLinkError: no jniavutil in java.library.path at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1860) at java.lang.Runtime.loadLibrary0(Runtime.java:871) at java.lang.System.loadLibrary(System.java:1124) at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:1543) at org.bytedeco.javacpp.Loader.load(Loader.java:1192) at org.bytedeco.javacpp.Loader.load(Loader.java:1042) at org.bytedeco.ffmpeg.global.avutil.<clinit>(avutil.java:12) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:348) at org.bytedeco.javacpp.Loader.load(Loader.java:1109) at org.bytedeco.javacpp.Loader.load(Loader.java:1058) at com.rainfe.mapletr.bigscreen.module.easymedia.init.InitServer.loadFFmpeg(InitServer.java:125) 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.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleElement.invoke(InitDestroyAnnotationBeanPostProcessor.java:389) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor$LifecycleMetadata.invokeInitMethods(InitDestroyAnnotationBeanPostProcessor.java:333) at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessBeforeInitialization(InitDestroyAnnotationBeanPostProcessor.java:157) ... 27 common frames omitted 报错怎么解决
最新发布
11-12
2025-10-28T15:40:01.982+08:00 INFO 9368 --- [chapter06] [ main] book.chapter06.Chapter06Application : Starting Chapter06Application using Java 21.0.1 with PID 9368 (D:\Dev-Cpp\IDER\jebra\daima_java\chapter06\target\classes started by 廾匸 in D:\Dev-Cpp\IDER\jebra\daima_java\chapter06) 2025-10-28T15:40:01.984+08:00 INFO 9368 --- [chapter06] [ main] book.chapter06.Chapter06Application : No active profile set, falling back to 1 default profile: "default" 2025-10-28T15:40:02.485+08:00 INFO 9368 --- [chapter06] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2025-10-28T15:40:02.516+08:00 INFO 9368 --- [chapter06] [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 26 ms. Found 1 JPA repository interface. 2025-10-28T15:40:02.780+08:00 INFO 9368 --- [chapter06] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8081 (http) 2025-10-28T15:40:02.788+08:00 INFO 9368 --- [chapter06] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2025-10-28T15:40:02.788+08:00 INFO 9368 --- [chapter06] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.48] 2025-10-28T15:40:02.815+08:00 INFO 9368 --- [chapter06] [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2025-10-28T15:40:02.816+08:00 INFO 9368 --- [chapter06] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 799 ms 2025-10-28T15:40:02.959+08:00 INFO 9368 --- [chapter06] [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2025-10-28T15:40:02.982+08:00 INFO 9368 --- [chapter06] [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 6.6.33.Final 2025-10-28T15:40:02.999+08:00 INFO 9368 --- [chapter06] [ main] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled 2025-10-28T15:40:03.154+08:00 INFO 9368 --- [chapter06] [ main] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer 2025-10-28T15:40:03.169+08:00 INFO 9368 --- [chapter06] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2025-10-28T15:40:03.253+08:00 INFO 9368 --- [chapter06] [ main] com.zaxxer.hikari.pool.HikariPool : HikariPool-1 - Added connection com.mysql.cj.jdbc.ConnectionImpl@470135da 2025-10-28T15:40:03.254+08:00 INFO 9368 --- [chapter06] [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2025-10-28T15:40:03.286+08:00 WARN 9368 --- [chapter06] [ main] org.hibernate.orm.deprecation : HHH90000025: MySQL8Dialect does not need to be specified explicitly using 'hibernate.dialect' (remove the property setting and it will be selected by default) 2025-10-28T15:40:03.287+08:00 WARN 9368 --- [chapter06] [ main] org.hibernate.orm.deprecation : HHH90000026: MySQL8Dialect has been deprecated; use org.hibernate.dialect.MySQLDialect instead 2025-10-28T15:40:03.298+08:00 INFO 9368 --- [chapter06] [ main] org.hibernate.orm.connections.pooling : HHH10001005: Database info: Database JDBC URL [Connecting through datasource 'HikariDataSource (HikariPool-1)'] Database driver: undefined/unknown Database version: 8.0 Autocommit mode: undefined/unknown Isolation level: undefined/unknown Minimum pool size: undefined/unknown Maximum pool size: undefined/unknown 2025-10-28T15:40:03.707+08:00 INFO 9368 --- [chapter06] [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration) 2025-10-28T15:40:03.739+08:00 INFO 9368 --- [chapter06] [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2025-10-28T15:40:03.762+08:00 WARN 9368 --- [chapter06] [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2025-10-28T15:40:04.148+08:00 INFO 9368 --- [chapter06] [ main] o.s.b.a.e.web.EndpointLinksResolver : Exposing 1 endpoint beneath base path '/actuator' 2025-10-28T15:40:04.195+08:00 INFO 9368 --- [chapter06] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8081 (http) with context path '/' 2025-10-28T15:40:04.201+08:00 INFO 9368 --- [chapter06] [ main] book.chapter06.Chapter06Application : Started Chapter06Application in 2.482 seconds (process running for 2.832) 2025-10-28T15:40:04.736+08:00 INFO 9368 --- [chapter06] [-10.224.136.139] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2025-10-28T15:40:04.737+08:00 INFO 9368 --- [chapter06] [-10.224.136.139] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2025-10-28T15:40:04.737+08:00 INFO 9368 --- [chapter06] [-10.224.136.139] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms这是我的项目运行日志,没有报错但是我运行网站显示Whitelabel Error Page This application has no explicit mapping for /error, so you are seeing this as a fallback. Tue Oct 28 15:42:14 CST 2025 There was an unexpected error (type=Not Found, status=404).
10-29
2025-10-27 10:47:02.249 [main] INFO [][com.huawei.foundation.commons.config.ConfigUtils.219] Config resolver is com.huawei.foundation.commons.props.SystemEnvConfigResolver@2f64f99f; com.huawei.cube.core.env.CubeEnvConfigResolver@16c1d11; com.huawei.foundation.commons.config.DefaultConfigResolver@123d0816 2025-10-27 10:47:02.324 [main] INFO [][com.huawei.foundation.commons.config.ConfigUtils.42] Control param factory is not exist, and use default control param factory 2025-10-27 10:47:03.757 [main] INFO [][com.huawei.foundation.commons.props.ConfigurationLoader.85] foundation component configuration is load for profiles [uat] 2025-10-27 10:47:03.785 [main] INFO [][com.huawei.foundation.commons.props.ConfigurationUtils.55] All config item list [foundation-application, foundation-bootstrap, foundation, cube-app, hae-config, cube-rt-sgov, cube-rt-sso, commons-ops, console, cube-rt-web, cube-rt-security, cube-rt-cs, cube-rt-privilege, cube-privilege-program, cube-rt-http, cube-rt-discovery, cube-rt-health, cube-rt-mqs, cube-das, cube-asynctask, cube-excel, commons-boot] 2025-10-27 10:47:04.380 [main] INFO [][com.huawei.foundation.commons.reporting.ReporterFactory.45] incident reporter is com.huawei.foundation.commons.console.incident.ConsoleIncidentReporter,com.huawei.foundation.commons.incident.reporting.IncidentPinpointTraceIdReporter,com.huawei.foundation.commons.tracing.reporting.IncidentTracingReporter 2025-10-27 10:47:04.423 [main] INFO [][com.huawei.foundation.commons.reporting.ReporterFactory.66] incident reporter predicate is com.huawei.foundation.commons.console.incident.ConsoleIncidentReporter,com.huawei.foundation.commons.incident.reporting.IncidentReportRatePredicate 2025-10-27 10:47:04.787 [main] INFO [][com.huawei.foundation.commons.props.ConfigurationLoader.85] foundation component configuration is load for profiles [uat] 2025-10-27 10:47:04.806 [main] INFO [][com.huawei.foundation.commons.logging.LoggingRefresher.156] logging filter status: global = true , regex = true, sensitive= true, exception=true 2025-10-27 10:47:05.279 [main] INFO [][com.huawei.cube.rt.hae.spring.HaeConfigCenterInitializer.91] HAE config center is enabled 2025-10-27 10:47:05.316 [main] INFO [][com.huawei.foundation.commons.utils.VmIPUtils.101] current is docker env 2025-10-27 10:47:05.364 [main] INFO [][com.huawei.cube.rt.hae.crypto.HuaweiSecurity2CryptoImpl.228] root key file path is /opt/security/CBG_IT_TREE/rbitreeservice/kwe_uat/keys/rootkeys/ 2025-10-27 10:47:06.502 [main] INFO [][com.huawei.apic.client.consumer.AbstractAuthenticator.77] init soa apiAuthenticator success,endpoints is: [http://oauth2-beta.huawei.com] 2025-10-27 10:47:06.504 [main] INFO [][com.huawei.cube.rt.sgov.his.DefaultSgovAuth.63] The sgov 'haeSgov' of '11111111111111111111111111111111-com.huawei.cbg.it.tree' init successfully! 2025-10-27 10:47:06.984 [main] INFO [][com.huawei.cube.rt.hae.HaeHttpService.47] begin to connect to hae config center http://appconfig-beta.huawei.com/ConfigCenter/services/saasConfigcenterGetConfig?application_id=com.huawei.cbg.it.tree&sub_application_id=rbitreeservice&environment=kwe_uat&region=cn-west-hcd-1&version=1.0&client_ip_port=7.186.15.36:55988 using sgov 2025-10-27 10:47:07.551 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.227] ignore server check for ssl, clientName=hae-config-center 2025-10-27 10:47:07.551 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.245] enabled connection pool, clientName=hae-config-center 2025-10-27 10:47:07.556 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.148] OK http client 'hae-config-center' have been created successfully! 2025-10-27 10:47:07.983 [main] INFO [][com.huawei.cube.rt.hae.HaeHttpRequestUtils.86] success to get config from com.huawei.cbg.it.tree:rbitreeservice in env: kwe_uat, region: cn-west-hcd-1 2025-10-27 10:47:08.042 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.76] begin to parse hae config map 2025-10-27 10:47:08.043 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.207] success to parse hae app config 16 2025-10-27 10:47:08.043 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.215] begin to parse hae j2c config map 13 2025-10-27 10:47:08.102 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c security_publickey 2025-10-27 10:47:08.173 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c clouddragonKey 2025-10-27 10:47:08.232 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c sgovTokenPro 2025-10-27 10:47:08.298 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c iam.token.appSecret 2025-10-27 10:47:08.356 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c rbi_redis 2025-10-27 10:47:08.418 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c cubeSecret 2025-10-27 10:47:08.453 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c s3Ak 2025-10-27 10:47:08.481 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c sgovToken 2025-10-27 10:47:08.509 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c pbi_systemId 2025-10-27 10:47:08.536 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c rbi_tree_uat 2025-10-27 10:47:08.568 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c application.Token.pro 2025-10-27 10:47:08.593 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c appReqProKey 2025-10-27 10:47:08.618 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.227] success to decrypt j2c s3Sk 2025-10-27 10:47:08.619 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.147] begin to parse config list for listen_port size= 0 2025-10-27 10:47:08.620 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.147] begin to parse config list for datasource size= 1 2025-10-27 10:47:08.649 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.171] success to decrypt datasource for prefix 1 2025-10-27 10:47:08.650 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.147] begin to parse config list for client_strategy size= 0 2025-10-27 10:47:08.650 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.147] begin to parse config list for message size= 0 2025-10-27 10:47:08.650 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigMapParser.103] success to parse hae config properties 98 2025-10-27 10:47:08.651 [main] INFO [][com.huawei.cube.rt.hae.HaeConfigPropertySource.175] HAE config is loaded to spring environment! 2025-10-27 10:47:08.651 [main] INFO [][com.huawei.cube.rt.hae.spring.HaeConfigCenterInitializer.94] success to get hae config and cost 3371ms 2025-10-27 10:47:08.943 [background-preinit] INFO [][org.hibernate.validator.internal.util.Version.21] HV000001: Hibernate Validator 8.0.2.Final 2025-10-27 10:47:09.504 [main] INFO [][com.huawei.cube.rt.configcenter.CubeCenterConfigInitializer.51] cube config definition is empty from class com.huawei.cube.rt.configcenter.loader.EnvironmentConfigLoader 2025-10-27 10:47:09.671 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.227] ignore server check for ssl, clientName=commandClient 2025-10-27 10:47:09.671 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.245] enabled connection pool, clientName=commandClient 2025-10-27 10:47:09.672 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.148] OK http client 'commandClient' have been created successfully! 2025-10-27 10:47:09.781 [main] INFO [][c.huawei.cube.rt.configcenter.loader.CubeCenterConfigLoader.49] The config from cube center [com.huawei.cbg.it.tree:rbitreeservice:uat] is null 2025-10-27 10:47:09.782 [main] INFO [][com.huawei.cube.rt.configcenter.CubeCenterConfigInitializer.51] cube config definition is empty from class com.huawei.cube.rt.configcenter.loader.CubeCenterConfigLoader 2025-10-27 10:47:09.785 [main] INFO [][com.huawei.foundation.commons.props.SystemEnvUtils.69] active environment is not changed 2025-10-27 10:47:09.785 [main] INFO [][c.huawei.foundation.commons.service.discovery.ServiceLocator.172] CurrentApplicationContext is set 2025-10-27 10:47:09.868 [main] INFO [][com.huawei.cbgit.tree.MainApplication.53] Starting MainApplication v1.0.0-SNAPSHOT using Java 21.0.7 with PID 371 (/rbi-tree-app-1.0.0-SNAPSHOT/libs/rbi-tree-app-1.0.0-SNAPSHOT.jar started by clouder in /rbi-tree-app-1.0.0-SNAPSHOT/bin) 2025-10-27 10:47:09.869 [main] INFO [][com.huawei.cbgit.tree.MainApplication.658] The following 1 profile is active: \"uat\" 2025-10-27 10:47:11.455 [main] INFO [][c.h.f.commons.exclude.FndAutoConfigurationImportFilter.59] foundation.autoconfigure.excludes is org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration 2025-10-27 10:47:11.456 [main] INFO [][c.h.f.commons.exclude.FndAutoConfigurationImportFilter.63] foundation.autoconfigure.includes is com.huawei.cbgit.tree.MainApplication,com.huawei.cbgit.tree.* 2025-10-27 10:47:11.834 [main] INFO [][c.h.f.commons.exclude.FndAutoConfigurationImportFilter.118] configurations are excluded: org.mybatis.spring.boot.autoconfigure.MybatisAutoConfiguration 2025-10-27 10:47:14.122 [main] INFO [][c.h.foundation.commons.reflections.AnnotationMetadataReader.84] resolve class annotations from package: com.huawei.cube.audit.writer.cs in class loader org.springframework.boot.loader.launch.LaunchedClassLoader@795faad cost 10ms 2025-10-27 10:47:14.123 [main] INFO [][c.huawei.foundation.commons.reflections.AnnotationsScanner.185] scan and match annotations CubeClient from com.huawei.cube.audit.writer.cs cost 1ms 2025-10-27 10:47:14.534 [main] INFO [][c.h.foundation.commons.reflections.AnnotationMetadataReader.84] resolve class annotations from package: com.huawei.cube.excel.core.task.cs in class loader org.springframework.boot.loader.launch.LaunchedClassLoader@795faad cost 6ms 2025-10-27 10:47:14.535 [main] INFO [][c.huawei.foundation.commons.reflections.AnnotationsScanner.185] scan and match annotations CubeClient from com.huawei.cube.excel.core.task.cs cost 0ms 2025-10-27 10:47:14.908 [main] INFO [][c.h.foundation.commons.reflections.AnnotationMetadataReader.84] resolve class annotations from package: com.huawei.cube.rt.cs.client in class loader org.springframework.boot.loader.launch.LaunchedClassLoader@795faad cost 7ms 2025-10-27 10:47:14.909 [main] INFO [][c.huawei.foundation.commons.reflections.AnnotationsScanner.185] scan and match annotations CubeClient from com.huawei.cube.rt.cs.client cost 0ms 2025-10-27 10:47:16.514 [main] INFO [][o.s.data.repository.config.RepositoryConfigurationDelegate.296] Multiple Spring Data modules found, entering strict repository configuration mode 2025-10-27 10:47:16.530 [main] INFO [][o.s.data.repository.config.RepositoryConfigurationDelegate.147] Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-10-27 10:47:16.756 [main] INFO [][o.s.data.repository.config.RepositoryConfigurationDelegate.215] Finished Spring Data repository scanning in 131 ms. Found 0 Redis repository interfaces. 2025-10-27 10:47:17.235 [main] INFO [][c.huawei.foundation.commons.service.discovery.ServiceLocator.181] CurrentApplicationContext is not changed 2025-10-27 10:47:17.277 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.assetTreeSubitemAppList is register*****#*#***** 2025-10-27 10:47:17.279 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.assetTreeSubitemModuleList is register*****#*#***** 2025-10-27 10:47:17.279 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.assetTreeSubitemProductList is register*****#*#***** 2025-10-27 10:47:17.280 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.assetTreeSubitemSoftwareUnit is register*****#*#***** 2025-10-27 10:47:17.280 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.assetTreeSubitemSubList is register*****#*#***** 2025-10-27 10:47:17.281 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.assetTreeSubitemWarehouseList is register*****#*#***** 2025-10-27 10:47:17.281 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.orgTreeEmployee is register*****#*#***** 2025-10-27 10:47:17.281 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelExportSupport.orgTreeWxEmployee is register*****#*#***** 2025-10-27 10:47:17.288 [main] INFO [][com.huawei.cube.excel.core.utils.ExcelSupportScanner.75] excel bean fdnIExcelImportSupport.employeeBaseInfo is register*****#*#***** 2025-10-27 10:47:17.562 [main] INFO [][com.huawei.cube.rt.datasource.DefaultDataSourceFactory.143] The primary datasource is 'dataSource' 2025-10-27 10:47:17.602 [main] INFO [][com.huawei.cube.rt.datasource.DefaultCubeDataSourceRegistry.36] success to register*****#*#*****ubeDataSource : dataSource 2025-10-27 10:47:18.656 [DruidDataSourceInit-dataSource-1] INFO [][com.alibaba.druid.pool.DruidDataSource.1002] {dataSource-1,dataSource} inited 2025-10-27 10:47:18.657 [DruidDataSourceInit-dataSource-1] INFO [][com.huawei.cube.rt.datasource.DefaultCubeDataSource.122] The dataSource 'dataSource' init successfully! cost '868'ms 2025-10-27 10:47:18.749 [main] INFO [][com.huawei.foundation.commons.copier.factory.MappingFactory.97] create mapping factory cost 165ms 2025-10-27 10:47:20.727 [main] INFO [][com.huawei.cube.das.core.DefaultMyBatisConfigurator.214] datasource dataSource type handlers package is com.huawei.cube.das.handler.date,com.huawei.cube.das.handler.bool 2025-10-27 10:47:20.862 [main] INFO [][com.huawei.cube.das.core.DefaultMyBatisConfigurator.185] 4 mybatis interceptors are loaded to datasource dataSource : class com.huawei.cube.das.interceptor.LongtimeSqlInterceptor,class com.huawei.cube.das.interceptor.MybatisPageableInterceptor,class com.huawei.cube.privilege.program.DataPrivilegeInterceptor,class com.huawei.cube.das.interceptor.OptimisticLockerInterceptor 2025-10-27 10:47:21.468 [main] INFO [][com.huawei.cube.das.core.DefaultMyBatisConfigurator.129] [classpath*:/mapper/dynamic/*.xml, classpath*:com.huawei.cbgit.tree.infrastructure.*.xml, classpath*:/mapper/*.xml] : 4 mybatis mapper xml are loaded to dataSource 2025-10-27 10:47:22.063 [main] INFO [][com.huawei.cube.das.core.DefaultCubeDASRegister.166] data source [dataSource] register*****#*#*****se package : com.huawei.cube.audit.writer.database.mapper,com.huawei.cbgit.tree.infrastructure.*,com.huawei.cube.logging.writer.database.mapper,com.huawei.cube.das.sequence.mapper,com.huawei.cube.idempotent.mapper 2025-10-27 10:47:23.314 [main] WARN [][o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.429] Bean 'com.huawei.cube.rt.refresh.ConfigChangeConfiguration' of type [com.huawei.cube.rt.refresh.ConfigChangeConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). The currently created BeanPostProcessor [cubeChangeConfigPropertiesBeanPostProcessor] is declared through a non-static factory method on that class; consider declaring it as static instead. 2025-10-27 10:47:23.345 [main] WARN [][o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.437] Bean 'cubeConfigRefreshMatcher' of type [com.huawei.cube.rt.refresh.ConfigRefreshMatcher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [cubeChangeConfigPropertiesBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE. 2025-10-27 10:47:23.364 [main] WARN [][o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.437] Bean 'cubeSpringValueBeanConfigRefresher' of type [com.huawei.cube.rt.refresh.SpringValueBeanConfigRefresher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [cubeSpringValueBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE. 2025-10-27 10:47:23.378 [main] WARN [][o.s.c.s.PostProcessorRegistrationDelegate$BeanPostProcessorChecker.437] Bean 'cubeConfigChangeEventRefresher' of type [com.huawei.cube.rt.refresh.ConfigChangeEventRefresher] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying). Is this bean getting eagerly injected/applied to a currently created BeanPostProcessor [cubeSpringValueBeanPostProcessor]? Check the corresponding BeanPostProcessor declaration and its dependencies/advisors. If this bean does not have to be post-processed, declare it with ROLE_INFRASTRUCTURE. 2025-10-27 10:47:24.699 [main] INFO [][o.springframework.boot.web.embedded.tomcat.TomcatWebServer.111] Tomcat initialized with port 8003 (http) 2025-10-27 10:47:25.042 [main] INFO [][org.apache.coyote.http11.Http11NioProtocol.168] Initializing ProtocolHandler [\"http-nio-8003\"] 2025-10-27 10:47:25.074 [main] INFO [][org.apache.catalina.core.StandardService.168] Starting service [Tomcat] 2025-10-27 10:47:25.075 [main] INFO [][org.apache.catalina.core.StandardEngine.168] Starting Servlet engine: [Apache Tomcat/10.1.44] 2025-10-27 10:47:25.238 [main] INFO [][o.a.c.c.C.[Tomcat].[localhost].[/rbi-tree/gateway].168] Initializing Spring embedded WebApplicationContext 2025-10-27 10:47:25.238 [main] INFO [][o.s.b.web.servlet.context.ServletWebServerApplicationContext.301] Root WebApplicationContext: initialization completed in 14996 ms 2025-10-27 10:47:25.519 [main] INFO [][com.huawei.cube.rt.sgov.SgovAuthConfig.172] sgov setSgovAuth*****#*#*****e config center [cloud.sgov.appId, cloud.sgov.token*****#*#***** 2025-10-27 10:47:25.531 [main] INFO [][com.huawei.apic.client.consumer.AbstractAuthenticator.77] init soa apiAuth*****#*#*****dpoints is: [http://oauth*****#*#***** 2025-10-27 10:47:25.531 [main] INFO [][com.huawei.cube.rt.sgov.his.DefaultSgovAuth.63] The sgov 'envSgov' of '11111111111111111111111111111111-com.huawei.cbg.it.tree' init successfully! 2025-10-27 10:47:25.532 [main] INFO [][com.huawei.apic.client.consumer.AbstractAuthenticator.77] init soa apiAuth*****#*#*****dpoints is: [http://oauth*****#*#***** 2025-10-27 10:47:25.533 [main] INFO [][com.huawei.cube.rt.sgov.his.DefaultSgovAuth.63] The sgov 'defaultSgov' of '11111111111111111111111111111111-com.huawei.cbg.it.tree' init successfully! 2025-10-27 10:47:25.533 [main] INFO [][com.huawei.apic.client.consumer.AbstractAuthenticator.77] init soa apiAuth*****#*#*****dpoints is: [https://oauth*****#*#***** 2025-10-27 10:47:25.542 [main] INFO [][com.huawei.cube.rt.sgov.his.DefaultSgovAuth.63] The sgov 'proSgov' of '11111111111111111111111111111111-com.huawei.cbg.it.tree' init successfully! 2025-10-27 10:47:25.705 [main] INFO [][com.huawei.cube.rt.auth.web.WebAuthConfiguration.50] >>> auth*****#*#*****ter register*****#*#***** 2025-10-27 10:47:25.744 [main] INFO [][com.huawei.cube.rt.auth.web.WebAuthConfiguration.61] >>> accountTypeWebFilter register*****#*#***** 2025-10-27 10:47:25.761 [main] INFO [][c.huawei.cube.rt.context.web.RequestContextWebConfiguration.41] >>> requestContextHolderFilter register*****#*#***** 2025-10-27 10:47:26.883 [main] INFO [][org.redisson.Version.43] Redisson 3.51.0 2025-10-27 10:47:28.565 [main] INFO [][org.redisson.connection.ClusterConnectionManager.122] Redis cluster nodes configuration got from 7.193.49.81/7.193.49.81:6379:\n76107c4d6bc43632c84da91a6b8c0bf1e8a10e9c 7.193.50.120:6379@12709 master - 0 1761533247149 3 connected 10923-16383\n4dbe4460b63b64d4fc34616d83c45340a9afe6ed 7.193.49.191:6379@13562 slave 76107c4d6bc43632c84da91a6b8c0bf1e8a10e9c 0 1761533248149 3 connected\nd14995cad01a7a98829ce3a9c4f7237233d8683f 7.193.49.81:6379@12870 myself,master - 0 1761533245000 1 connected 0-5460\n5ad91d3191eecf8201b757a6899c0f187a628634 7.193.51.7:6379@12467 slave d14995cad01a7a98829ce3a9c4f7237233d8683f 0 1761533246000 1 connected\nf603a93be27c1f5f0c01d2b471c55a04822be8db 7.193.50.91:6379@12430 slave 45d1676d933a3242712d4214a4194fd970bc06dd 0 1761533246000 2 connected\n45d1676d933a3242712d4214a4194fd970bc06dd 7.193.50.85:6379@13880 master - 0 1761533246147 2 connected 5461-10922 2025-10-27 10:47:28.762 [redisson-netty-1-14] INFO [][org.redisson.connection.ConnectionsHolder.132] 1 connections initialized for 7.193.49.81/7.193.49.81:6379 2025-10-27 10:47:28.842 [redisson-netty-1-26] INFO [][org.redisson.connection.ConnectionsHolder.132] 1 connections initialized for 7.193.50.85/7.193.50.85:6379 2025-10-27 10:47:28.844 [redisson-netty-1-27] INFO [][org.redisson.connection.ConnectionsHolder.132] 1 connections initialized for 7.193.50.120/7.193.50.120:6379 2025-10-27 10:47:29.080 [redisson-netty-1-19] INFO [][org.redisson.connection.ConnectionsHolder.132] 24 connections initialized for 7.193.49.81/7.193.49.81:6379 2025-10-27 10:47:29.085 [redisson-netty-1-24] INFO [][org.redisson.connection.ConnectionsHolder.132] 24 connections initialized for 7.193.50.120/7.193.50.120:6379 2025-10-27 10:47:29.094 [redisson-netty-1-2] INFO [][org.redisson.connection.ConnectionsHolder.132] 24 connections initialized for 7.193.50.85/7.193.50.85:6379 2025-10-27 10:47:29.167 [redisson-netty-1-19] INFO [][org.redisson.connection.ConnectionsHolder.132] 1 connections initialized for 7.193.49.191/7.193.49.191:6379 2025-10-27 10:47:29.168 [redisson-netty-1-20] INFO [][org.redisson.connection.ConnectionsHolder.132] 1 connections initialized for 7.193.50.91/7.193.50.91:6379 2025-10-27 10:47:29.178 [redisson-netty-1-5] INFO [][org.redisson.connection.ConnectionsHolder.132] 1 connections initialized for 7.193.51.7/7.193.51.7:6379 2025-10-27 10:47:29.353 [redisson-netty-1-22] INFO [][org.redisson.connection.ConnectionsHolder.132] 24 connections initialized for 7.193.50.91/7.193.50.91:6379 2025-10-27 10:47:29.353 [redisson-netty-1-20] INFO [][org.redisson.connection.ConnectionsHolder.132] 24 connections initialized for 7.193.49.191/7.193.49.191:6379 2025-10-27 10:47:29.353 [redisson-netty-1-21] INFO [][org.redisson.connection.ConnectionsHolder.132] 24 connections initialized for 7.193.51.7/7.193.51.7:6379 2025-10-27 10:47:29.355 [redisson-netty-1-20] INFO [][org.redisson.connection.ClusterConnectionManager.366] slaves: [redis://7.193.49.191:6379] added for master: redis://7.193.50.120:6379 slot ranges: [[10923-16383]] 2025-10-27 10:47:29.355 [redisson-netty-1-22] INFO [][org.redisson.connection.ClusterConnectionManager.366] slaves: [redis://7.193.50.91:6379] added for master: redis://7.193.50.85:6379 slot ranges: [[5461-10922]] 2025-10-27 10:47:29.355 [redisson-netty-1-21] INFO [][org.redisson.connection.ClusterConnectionManager.366] slaves: [redis://7.193.51.7:6379] added for master: redis://7.193.49.81:6379 slot ranges: [[0-5460]] 2025-10-27 10:47:29.356 [redisson-netty-1-20] INFO [][org.redisson.connection.ClusterConnectionManager.374] master: redis://7.193.50.120:6379 added for slot ranges: [[10923-16383]] 2025-10-27 10:47:29.356 [redisson-netty-1-22] INFO [][org.redisson.connection.ClusterConnectionManager.374] master: redis://7.193.50.85:6379 added for slot ranges: [[5461-10922]] 2025-10-27 10:47:29.356 [redisson-netty-1-21] INFO [][org.redisson.connection.ClusterConnectionManager.374] master: redis://7.193.49.81:6379 added for slot ranges: [[0-5460]] 2025-10-27 10:47:30.475 [main] INFO [][com.huawei.cube.rt.redis.CubeRedissonClient.66] The redisson client have been created successfully! 2025-10-27 10:47:32.845 [main] INFO [][com.obs.services.internal.utils.RestUtils.103] use Default Dns 2025-10-27 10:47:32.863 [main] INFO [][com.obs.services.AbstractClient.103] Storage|1|HTTP+XML|ObsClient||||2025-10-27 10:47:32|2025-10-27 10:47:32|||0| 2025-10-27 10:47:32.865 [main] WARN [][com.obs.services.AbstractClient.103] [OBS SDK Version=3.25.4];[Endpoint=http://s3-kp-kwe.his-beta.huawei.com:80/];[Access Mode=Path] 2025-10-27 10:47:33.034 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.227] ignore server check for ssl, clientName=defaultRestClient 2025-10-27 10:47:33.042 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.245] enabled connection pool, clientName=defaultRestClient 2025-10-27 10:47:33.042 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.148] OK http client 'defaultRestClient' have been created successfully! 2025-10-27 10:47:33.072 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.227] ignore server check for ssl, clientName=commonService 2025-10-27 10:47:33.072 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.245] enabled connection pool, clientName=commonService 2025-10-27 10:47:33.073 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.148] OK http client 'commonService' have been created successfully! 2025-10-27 10:47:33.173 [main] INFO [][com.huawei.cube.rt.gray.discovery.GrayTagConfigReader.80] Gray tag config file path /opt/ads/CBG_IT_TREE/rbitreeservice/kwe_uat/clustertype 2025-10-27 10:47:33.193 [main] INFO [][com.huawei.cube.rt.discovery.ApplicationManager.60] current ipinfo,ip=7.186.15.36,port=55988 2025-10-27 10:47:33.359 [main] INFO [][com.huawei.cube.rt.discovery.eureka.LocalInstanceFactory.77] Setting initial instance status as: STARTING 2025-10-27 10:47:33.402 [main] INFO [][c.huawei.cube.rt.discovery.eureka.handler.JwtClientHandler.44] Eureka jwt verify enabled 2025-10-27 10:47:33.552 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.227] ignore server check for ssl, clientName=eurekaClient 2025-10-27 10:47:33.552 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.245] enabled connection pool, clientName=eurekaClient 2025-10-27 10:47:33.553 [main] INFO [][c.huawei.foundation.commons.httpclient.OkHttpClientFactory.148] OK http client 'eurekaClient' have been created successfully! 2025-10-27 10:47:34.119 [main] INFO [][com.netflix.discovery.InstanceInfoReplicator.64] InstanceInfoReplicator onDemand update allowed rate per min is 4 2025-10-27 10:47:34.734 [main] INFO [][com.huawei.cube.rt.web.filter.WebFilterAutoConfiguration.44] >>> serverNoReadyFilter register*****#*#***** 2025-10-27 10:47:34.739 [main] INFO [][com.huawei.cube.rt.web.filter.WebFilterAutoConfiguration.56] >>> inboundAccessLogFilter register*****#*#***** 2025-10-27 10:47:34.742 [main] INFO [][com.huawei.cube.rt.web.filter.WebFilterAutoConfiguration.67] >>> CharaterEncodingFilter register*****#*#***** 2025-10-27 10:47:34.744 [main] INFO [][com.huawei.cube.rt.web.filter.WebFilterAutoConfiguration.81] >>> headerWriterFilter register*****#*#***** 2025-10-27 10:47:34.932 [main] INFO [][com.huawei.cube.rt.web.xss.XssFilter.107] init XssFilter 2025-10-27 10:47:38.895 [main] WARN [][RocketmqRemoting.115] this file is not exists: ./conf/rmq_remoting_client_access.conf 2025-10-27 10:47:39.718 [main] WARN [][RocketmqRemoting.115] this file is not exists: ./conf/rmq_remoting_client_access.conf 2025-10-27 10:47:40.258 [main] ERROR [][UmpClient.504] start client error org.apache.rocketmq.common.ext.client.MQClientException: CODE: -6 DESC: Connection refused: authorization failed, please check the consumer configuration, appId: com.huawei.cbg.it.tree (pub or sub not matched or not exist in mqs management portal) And enterprise: null ,account: null For more information, please visit the doc, mqs-document at com.huawei.his.mqs.client.AbstractClient.login(AbstractClient.java:566) at com.huawei.his.mqs.client.AbstractClient.authenticateClient(AbstractClient.java:284) at com.huawei.his.mqs.client.AbstractClient.authenticateClient(AbstractClient.java:274) at com.huawei.his.mqs.client.AbstractClient$1.authenticateClient(AbstractClient.java:879) at org.apache.rocketmq.client.ext.impl.MQClientAPIImpl.start(MQClientAPIImpl.java:307) at org.apache.rocketmq.client.ext.impl.factory.MQClientInstance.start(MQClientInstance.java:411) at org.apache.rocketmq.client.ext.impl.consumer.DefaultMQPushConsumerImpl.start(DefaultMQPushConsumerImpl.java:917) at org.apache.rocketmq.client.ext.consumer.DefaultMQPushConsumer.start(DefaultMQPushConsumer.java:919) at com.huawei.his.mqs.client.consumer.Consumer.startClient(Consumer.java:369) at com.huawei.his.mqs.client.AbstractClient.start(AbstractClient.java:498) at com.huawei.cube.rt.mqs.consumer.MqsConsumer.start(MqsConsumer.java:37) at com.huawei.cube.api.mq.MqBaseClient.start(MqBaseClient.java:21) at com.huawei.cbgit.tree.service.assettree.label.LabelUpdateMqConsumerService.start(LabelUpdateMqConsumerService.java:85) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1930) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1822) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:607) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1228) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1130) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:990) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1362) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1351) at com.huawei.cbgit.tree.MainApplication.main(MainApplication.java:34) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) 2025-10-27 10:47:40.269 [main] ERROR [][RocketmqClient.155] group: com-huawei-cbg-it-tree_T_devops_TagManagement_label_dev_label_uat persistConsumerOffset exception org.apache.rocketmq.common.ext.client.MQClientException: The consumer service state not OK, START_FAILED See mqs-document for further details. at org.apache.rocketmq.client.ext.impl.consumer.DefaultMQPushConsumerImpl.makeSureStateOK(DefaultMQPushConsumerImpl.java:622) at org.apache.rocketmq.client.ext.impl.consumer.DefaultMQPushConsumerImpl.persistConsumerOffset(DefaultMQPushConsumerImpl.java:1377) at org.apache.rocketmq.client.ext.impl.consumer.DefaultMQPushConsumerImpl.shutdown(DefaultMQPushConsumerImpl.java:798) at org.apache.rocketmq.client.ext.consumer.DefaultMQPushConsumer.shutdown(DefaultMQPushConsumer.java:934) at com.huawei.his.mqs.client.consumer.Consumer.shutdownClient(Consumer.java:377) at com.huawei.his.mqs.client.AbstractClient.start(AbstractClient.java:507) at com.huawei.cube.rt.mqs.consumer.MqsConsumer.start(MqsConsumer.java:37) at com.huawei.cube.api.mq.MqBaseClient.start(MqBaseClient.java:21) at com.huawei.cbgit.tree.service.assettree.label.LabelUpdateMqConsumerService.start(LabelUpdateMqConsumerService.java:85) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1930) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1822) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:607) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1228) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1130) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:990) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1362) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1351) at com.huawei.cbgit.tree.MainApplication.main(MainApplication.java:34) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) 2025-10-27 10:47:40.331 [main] WARN [][o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext.635] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init' defined in class path resource [com/huawei/cbgit/tree/service/assettree/config/MqConfig.class]: fail to start mqs consumer T_devops_TagManagement_label_dev 2025-10-27 10:47:43.362 [main] INFO [][c.huawei.foundation.commons.startup.event.ContainerComponent.643] begin to destroy component dataSourceStartup 2025-10-27 10:47:43.363 [main] INFO [][c.huawei.foundation.commons.startup.event.ContainerComponent.643] begin to destroy component RedisClient 2025-10-27 10:47:43.363 [main] INFO [][c.h.c.rt.loadbalancer.supplier.HealthCheckInstanceSupplier.81] LoadBalancer-HealthCheck is closed! 2025-10-27 10:47:43.364 [main] INFO [][c.h.c.r.loadbalancer.client.DefaultLoadBalancerClientFactory.84] The loadblancerClient 'disoveryClientLoadBalancer' is closed 2025-10-27 10:47:43.364 [main] WARN [][com.obs.services.AbstractClient.103] client closing 2025-10-27 10:47:43.365 [main] INFO [][com.obs.log.AccessLogger.103] 2025-10-27 10:47:32 853|main|info|com.obs.services.internal.utils.RestUtils$DefaultObsDns|<init>|line:490|use Default Dns\n2025-10-27 10:47:32 864|main|info|com.obs.services.AbstractClient|init|line:78|Storage|1|HTTP+XML|ObsClient||||2025-10-27 10:47:32|2025-10-27 10:47:32|||0|\n2025-10-27 10:47:32 866|main|warn|com.obs.services.AbstractClient|init|line:97|[OBS SDK Version=3.25.4];[Endpoint=http://s3-kp-kwe.his-beta.huawei.com:80/];[Access Mode=Path]\n2025-10-27 10:47:43 364|main|warn|com.obs.services.AbstractClient|close|line:448|client closing 2025-10-27 10:47:43.370 [main] WARN [][com.obs.services.AbstractClient.103] client closed 2025-10-27 10:47:43.371 [main] INFO [][com.obs.log.AccessLogger.103] 2025-10-27 10:47:43 371|main|warn|com.obs.services.AbstractClient|close|line:451|client closed 2025-10-27 10:47:43.445 [main] INFO [][com.huawei.cube.rt.redis.CubeRedissonClient.109] The redisson client have been shutdown! 2025-10-27 10:47:43.464 [main] INFO [][org.apache.catalina.core.StandardService.168] Stopping service [Tomcat] 2025-10-27 10:47:43.468 [main] INFO [][com.huawei.cube.rt.web.xss.XssFilter.112] destroy XssFilter 2025-10-27 10:47:43.475 [main] INFO [][com.huawei.cube.api.context.RequestContextHolder.204] RequestContextFactory is 'class com.huawei.cube.rt.context.DefaultRequestContextFactory' 2025-10-27 10:47:43.490 [main] WARN [][org.apache.catalina.loader.WebappClassLoaderBase.168] The web application [rbi-tree#gateway] appears to have started a thread named [spectator-gauge-polling-0] but has failed to stop it. This is very likely to create a memory leak. Stack trace of thread:\n java.base/jdk.internal.misc.Unsafe.park(Native Method)\n java.base/java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:269)\n java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:1763)\n java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:1182)\n java.base/java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.take(ScheduledThreadPoolExecutor.java:899)\n java.base/java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1070)\n java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)\n java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)\n java.base/java.lang.Thread.run(Thread.java:1583) 2025-10-27 10:47:43.543 [main] INFO [][o.s.b.autoconfigure.logging.ConditionEvaluationReportLogger.82] \n\nError starting ApplicationContext. To display the condition evaluation report re-run your application with 'debug' enabled. 2025-10-27 10:47:43.701 [main] ERROR [][org.springframework.boot.SpringApplication.858] Application run failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'init' defined in class path resource [com/huawei/cbgit/tree/service/assettree/config/MqConfig.class]: fail to start mqs consumer T_devops_TagManagement_label_dev at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1826) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:607) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:529) at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:339) at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:373) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:337) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:202) at org.springframework.beans.factory.support.DefaultListableBeanFactory.instantiateSingleton(DefaultListableBeanFactory.java:1228) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingleton(DefaultListableBeanFactory.java:1194) at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:1130) at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:990) at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:627) at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:146) at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:753) at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:439) at org.springframework.boot.SpringApplication.run(SpringApplication.java:318) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1362) at org.springframework.boot.SpringApplication.run(SpringApplication.java:1351) at com.huawei.cbgit.tree.MainApplication.main(MainApplication.java:34) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:102) at org.springframework.boot.loader.launch.Launcher.launch(Launcher.java:64) at org.springframework.boot.loader.launch.JarLauncher.main(JarLauncher.java:40) Caused by: com.huawei.cube.api.mq.UmpException: fail to start mqs consumer T_devops_TagManagement_label_dev at com.huawei.cube.rt.mqs.consumer.MqsConsumer.start(MqsConsumer.java:39) at com.huawei.cube.api.mq.MqBaseClient.start(MqBaseClient.java:21) at com.huawei.cbgit.tree.service.assettree.label.LabelUpdateMqConsumerService.start(LabelUpdateMqConsumerService.java:85) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeCustomInitMethod(AbstractAutowireCapableBeanFactory.java:1930) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1883) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1822) ... 23 common frames omitted Caused by: com.huawei.his.mqs.common.exception.UmpException: Failed to start consumer, [ERROR INFO] is: CODE: -6 DESC: Connection refused: authorization failed, please check the consumer configuration, appId: com.huawei.cbg.it.tree (pub or sub not matched or not exist in mqs management portal) And enterprise: null ,account: null For more information, please visit the doc, mqs-document .[CONFIG SETTINGS] is: Consumer [messageModel=CLUSTERING, consumeFromWhere=CONSUME_FROM_FIRST_OFFSET, consumeThreadMin=8, consumeThreadMax=32, groupWithTags=true, consumeTimestamp=20251027101738, subGroup=null, consumeTimeoutMinutes=0, isDisableConsumeLaterRetry=false, isConsumeTimeoutWithRetry=true, isConsumeTimeoutConsumeThreadCancel=false, consumerAllocateQueueStrategy=AVG, propertyFilter='', ClientConfig{account='null', enterprise='null', appId='com.huawei.cbg.it.tree', appSecret=******, topic='T_devops_TagManagement_label_dev', clientIp='12.11.0.135', instanceName='ump_default', umpNamesrvUrls='mqs-dg02-01.his.huawei.com:9776;mqs-dg02-02.his.huawei.com:9776', dc='null', zone='null', encryptTransport=true, tags='label_uat', fileServiceUrl='null', compressLargeBody=false, umpConnectorUrls='null', loginTimeoutMillis=10000, heartBeatIntervalMillis=30000, reChanneIntervalMillis=120000, reChanneFailedRatio=0.1, heartBeatTimeoutMills=12000, rebalanceIntervalMills=40000, pollNameServerIntervalMills=30000, heartbeatBrokerIntervalMills=30000, persistConsumerOffsetIntervalMills=5000, pullTimeDelayMillsWhenException=1000, enableRequestReply=false, sharedConfig=null}] at com.huawei.his.mqs.client.AbstractClient.start(AbstractClient.java:519) at com.huawei.cube.rt.mqs.consumer.MqsConsumer.start(MqsConsumer.java:37) ... 30 common frames omitted
10-28
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值