登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
AI 队友
登录
注册
Gitee 2025 年度开源项目评选中
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
48
Star
496
Fork
219
小螺旋丸
/
数睿通数据中台
代码
Issues
6
Pull Requests
0
Wiki
统计
流水线
服务
JavaDoc
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
[报错]启动srt-cloud-system(已编译)服务时出现报错Parameter 0 of constructor in net.srt.system.api.StorageApiImpl required a bean of type 'net.srt.storage.service.StorageService' that could not be found
待办的
#IAD7QB
曾杨杰
创建于
2024-07-16 09:47
java、mysql、redis、nacos已根据实际情况搭建完成,其余9个服务如:gateaway等可正常运行,并在浏览器输入ip:8092能够查看到9个服务正常运行,使用已经编译好jar包的服务srt-cloud-system启动时,日志报错详情如下: ``` STATUS | wrapper | 2024/07/15 15:25:47 | --> Wrapper Started as Daemon STATUS | wrapper | 2024/07/15 15:25:47 | Launching a JVM... INFO | jvm 1 | 2024/07/15 15:25:47 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2024/07/15 15:25:47 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2024/07/15 15:25:47 | INFO | jvm 1 | 2024/07/15 15:25:49 | 2024-07-15 15:25:49.126 INFO 197719 --- [kground-preinit] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.2.4.Final INFO | jvm 1 | 2024/07/15 15:25:49 | 2024-07-15 15:25:49.588 INFO 197719 --- [erSimpleAppMain] com.alibaba.nacos.plugin.auth.spi.client.ClientAuthPluginManager: [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. INFO | jvm 1 | 2024/07/15 15:25:49 | 2024-07-15 15:25:49.588 INFO 197719 --- [erSimpleAppMain] com.alibaba.nacos.plugin.auth.spi.client.ClientAuthPluginManager: [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. INFO | jvm 1 | 2024/07/15 15:25:49 | INFO | jvm 1 | 2024/07/15 15:25:49 | . ____ _ __ _ _ INFO | jvm 1 | 2024/07/15 15:25:49 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ INFO | jvm 1 | 2024/07/15 15:25:49 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ INFO | jvm 1 | 2024/07/15 15:25:49 | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) INFO | jvm 1 | 2024/07/15 15:25:49 | ' |____| .__|_| |_|_| |_\__, | / / / / INFO | jvm 1 | 2024/07/15 15:25:49 | =========|_|==============|___/=/_/_/_/ INFO | jvm 1 | 2024/07/15 15:25:49 | :: Spring Boot :: (v2.6.11) INFO | jvm 1 | 2024/07/15 15:25:49 | INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.818 WARN 197719 --- [erSimpleAppMain] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[srt-cloud-system] & group[DEFAULT_GROUP] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.823 WARN 197719 --- [erSimpleAppMain] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[srt-cloud-system.yaml] & group[DEFAULT_GROUP] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.827 WARN 197719 --- [erSimpleAppMain] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[srt-cloud-system-dev.yaml] & group[DEFAULT_GROUP] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.828 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-srt-cloud-system-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-srt-cloud-system.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-srt-cloud-system,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-datasource.yaml,DEFAULT_GROUP'}] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.850 INFO 197719 --- [erSimpleAppMain] net.srt.SystemApplication: The following 1 profile is active: "dev" INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.066 INFO 197719 --- [erSimpleAppMain] org.springframework.data.repository.config.RepositoryConfigurationDelegate: Multiple Spring Data modules found, entering strict repository configuration mode INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.069 INFO 197719 --- [erSimpleAppMain] org.springframework.data.repository.config.RepositoryConfigurationDelegate: Bootstrapping Spring Data Redis repositories in DEFAULT mode. INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.097 INFO 197719 --- [erSimpleAppMain] org.springframework.data.repository.config.RepositoryConfigurationDelegate: Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.380 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=7316b6c1-d542-3521-b197-4e7b5e159296 INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.947 INFO 197719 --- [erSimpleAppMain] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 8083 (http) INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.960 INFO 197719 --- [erSimpleAppMain] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-8083"] INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.961 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.StandardService: Starting service [Tomcat] INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.962 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.65] INFO | jvm 1 | 2024/07/15 15:25:53 | 2024-07-15 15:25:53.356 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext INFO | jvm 1 | 2024/07/15 15:25:53 | 2024-07-15 15:25:53.356 INFO 197719 --- [erSimpleAppMain] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext: Root WebApplicationContext: initialization completed in 2488 ms INFO | jvm 1 | 2024/07/15 15:25:53 | 2024-07-15 15:25:53.834 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure: Init DruidDataSource INFO | jvm 1 | 2024/07/15 15:25:54 | Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. INFO | jvm 1 | 2024/07/15 15:25:54 | 2024-07-15 15:25:54.620 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} inited INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.499 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.openfeign.FeignClientFactoryBean: For 'srt-cloud-data-integrate' URL not provided. Will try picking an instance via load-balancing. INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.605 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.openfeign.FeignClientFactoryBean: For 'srt-cloud-message' URL not provided. Will try picking an instance via load-balancing. INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.661 WARN 197719 --- [erSimpleAppMain] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageApiImpl' defined in URL [jar:file:/home/leo/srt-service/srt-cloud-system/lib/srt-cloud-system-2.0.0.jar!/net/srt/system/api/StorageApiImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.666 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} closing ... INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.672 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} closed INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.677 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.StandardService: Stopping service [Tomcat] INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.695 INFO 197719 --- [erSimpleAppMain] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.731 ERROR 197719 --- [erSimpleAppMain] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | *************************** INFO | jvm 1 | 2024/07/15 15:25:55 | APPLICATION FAILED TO START INFO | jvm 1 | 2024/07/15 15:25:55 | *************************** INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Description: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Parameter 0 of constructor in net.srt.system.api.StorageApiImpl required a bean of type 'net.srt.storage.service.StorageService' that could not be found. INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Action: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Consider defining a bean of type 'net.srt.storage.service.StorageService' in your configuration. INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageApiImpl' defined in URL [jar:file:/home/leo/srt-service/srt-cloud-system/lib/srt-cloud-system-2.0.0.jar!/net/srt/system/api/StorageApiImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageApiImpl' defined in URL [jar:file:/home/leo/srt-service/srt-cloud-system/lib/srt-cloud-system-2.0.0.jar!/net/srt/system/api/StorageApiImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) INFO | jvm 1 | 2024/07/15 15:25:55 | at net.srt.SystemApplication.main(SystemApplication.java:14) INFO | jvm 1 | 2024/07/15 15:25:55 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2024/07/15 15:25:55 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) INFO | jvm 1 | 2024/07/15 15:25:55 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2024/07/15 15:25:55 | at java.lang.reflect.Method.invoke(Method.java:498) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2024/07/15 15:25:55 | at java.lang.Thread.run(Thread.java:750) INFO | jvm 1 | 2024/07/15 15:25:55 | Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1801) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1357) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) INFO | jvm 1 | 2024/07/15 15:25:55 | ... 25 more INFO | jvm 1 | 2024/07/15 15:25:57 | 2024-07-15 15:25:57.485 WARN 197719 --- [ Thread-2] com.alibaba.nacos.common.http.HttpClientBeanHolder: [HttpClientBeanHolder] Start destroying common HttpClient INFO | jvm 1 | 2024/07/15 15:25:57 | 2024-07-15 15:25:57.486 WARN 197719 --- [ Thread-8] com.alibaba.nacos.common.notify.NotifyCenter: [NotifyCenter] Start destroying Publisher INFO | jvm 1 | 2024/07/15 15:25:57 | 2024-07-15 15:25:57.487 WARN 197719 --- [ Thread-2] com.alibaba.nacos.common.http.HttpClientBeanHolder: [HttpClientBeanHolder] Destruction of the end STATUS | wrapper | 2024/07/15 15:25:57 | <-- Wrapper Stopped ```
java、mysql、redis、nacos已根据实际情况搭建完成,其余9个服务如:gateaway等可正常运行,并在浏览器输入ip:8092能够查看到9个服务正常运行,使用已经编译好jar包的服务srt-cloud-system启动时,日志报错详情如下: ``` STATUS | wrapper | 2024/07/15 15:25:47 | --> Wrapper Started as Daemon STATUS | wrapper | 2024/07/15 15:25:47 | Launching a JVM... INFO | jvm 1 | 2024/07/15 15:25:47 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org INFO | jvm 1 | 2024/07/15 15:25:47 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved. INFO | jvm 1 | 2024/07/15 15:25:47 | INFO | jvm 1 | 2024/07/15 15:25:49 | 2024-07-15 15:25:49.126 INFO 197719 --- [kground-preinit] org.hibernate.validator.internal.util.Version: HV000001: Hibernate Validator 6.2.4.Final INFO | jvm 1 | 2024/07/15 15:25:49 | 2024-07-15 15:25:49.588 INFO 197719 --- [erSimpleAppMain] com.alibaba.nacos.plugin.auth.spi.client.ClientAuthPluginManager: [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.impl.NacosClientAuthServiceImpl success. INFO | jvm 1 | 2024/07/15 15:25:49 | 2024-07-15 15:25:49.588 INFO 197719 --- [erSimpleAppMain] com.alibaba.nacos.plugin.auth.spi.client.ClientAuthPluginManager: [ClientAuthPluginManager] Load ClientAuthService com.alibaba.nacos.client.auth.ram.RamClientAuthServiceImpl success. INFO | jvm 1 | 2024/07/15 15:25:49 | INFO | jvm 1 | 2024/07/15 15:25:49 | . ____ _ __ _ _ INFO | jvm 1 | 2024/07/15 15:25:49 | /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ INFO | jvm 1 | 2024/07/15 15:25:49 | ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ INFO | jvm 1 | 2024/07/15 15:25:49 | \\/ ___)| |_)| | | | | || (_| | ) ) ) ) INFO | jvm 1 | 2024/07/15 15:25:49 | ' |____| .__|_| |_|_| |_\__, | / / / / INFO | jvm 1 | 2024/07/15 15:25:49 | =========|_|==============|___/=/_/_/_/ INFO | jvm 1 | 2024/07/15 15:25:49 | :: Spring Boot :: (v2.6.11) INFO | jvm 1 | 2024/07/15 15:25:49 | INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.818 WARN 197719 --- [erSimpleAppMain] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[srt-cloud-system] & group[DEFAULT_GROUP] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.823 WARN 197719 --- [erSimpleAppMain] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[srt-cloud-system.yaml] & group[DEFAULT_GROUP] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.827 WARN 197719 --- [erSimpleAppMain] com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder: Ignore the empty nacos configuration and get it based on dataId[srt-cloud-system-dev.yaml] & group[DEFAULT_GROUP] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.828 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration: Located property source: [BootstrapPropertySource {name='bootstrapProperties-srt-cloud-system-dev.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-srt-cloud-system.yaml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-srt-cloud-system,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-datasource.yaml,DEFAULT_GROUP'}] INFO | jvm 1 | 2024/07/15 15:25:50 | 2024-07-15 15:25:50.850 INFO 197719 --- [erSimpleAppMain] net.srt.SystemApplication: The following 1 profile is active: "dev" INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.066 INFO 197719 --- [erSimpleAppMain] org.springframework.data.repository.config.RepositoryConfigurationDelegate: Multiple Spring Data modules found, entering strict repository configuration mode INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.069 INFO 197719 --- [erSimpleAppMain] org.springframework.data.repository.config.RepositoryConfigurationDelegate: Bootstrapping Spring Data Redis repositories in DEFAULT mode. INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.097 INFO 197719 --- [erSimpleAppMain] org.springframework.data.repository.config.RepositoryConfigurationDelegate: Finished Spring Data repository scanning in 14 ms. Found 0 Redis repository interfaces. INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.380 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.context.scope.GenericScope: BeanFactory id=7316b6c1-d542-3521-b197-4e7b5e159296 INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.947 INFO 197719 --- [erSimpleAppMain] org.springframework.boot.web.embedded.tomcat.TomcatWebServer: Tomcat initialized with port(s): 8083 (http) INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.960 INFO 197719 --- [erSimpleAppMain] org.apache.coyote.http11.Http11NioProtocol: Initializing ProtocolHandler ["http-nio-8083"] INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.961 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.StandardService: Starting service [Tomcat] INFO | jvm 1 | 2024/07/15 15:25:52 | 2024-07-15 15:25:52.962 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.StandardEngine: Starting Servlet engine: [Apache Tomcat/9.0.65] INFO | jvm 1 | 2024/07/15 15:25:53 | 2024-07-15 15:25:53.356 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.ContainerBase.[Tomcat].[localhost].[/]: Initializing Spring embedded WebApplicationContext INFO | jvm 1 | 2024/07/15 15:25:53 | 2024-07-15 15:25:53.356 INFO 197719 --- [erSimpleAppMain] org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext: Root WebApplicationContext: initialization completed in 2488 ms INFO | jvm 1 | 2024/07/15 15:25:53 | 2024-07-15 15:25:53.834 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure: Init DruidDataSource INFO | jvm 1 | 2024/07/15 15:25:54 | Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary. INFO | jvm 1 | 2024/07/15 15:25:54 | 2024-07-15 15:25:54.620 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} inited INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.499 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.openfeign.FeignClientFactoryBean: For 'srt-cloud-data-integrate' URL not provided. Will try picking an instance via load-balancing. INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.605 INFO 197719 --- [erSimpleAppMain] org.springframework.cloud.openfeign.FeignClientFactoryBean: For 'srt-cloud-message' URL not provided. Will try picking an instance via load-balancing. INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.661 WARN 197719 --- [erSimpleAppMain] org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext: Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageApiImpl' defined in URL [jar:file:/home/leo/srt-service/srt-cloud-system/lib/srt-cloud-system-2.0.0.jar!/net/srt/system/api/StorageApiImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.666 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} closing ... INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.672 INFO 197719 --- [erSimpleAppMain] com.alibaba.druid.pool.DruidDataSource: {dataSource-1} closed INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.677 INFO 197719 --- [erSimpleAppMain] org.apache.catalina.core.StandardService: Stopping service [Tomcat] INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.695 INFO 197719 --- [erSimpleAppMain] org.springframework.boot.autoconfigure.logging.ConditionEvaluationReportLoggingListener: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. INFO | jvm 1 | 2024/07/15 15:25:55 | 2024-07-15 15:25:55.731 ERROR 197719 --- [erSimpleAppMain] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | *************************** INFO | jvm 1 | 2024/07/15 15:25:55 | APPLICATION FAILED TO START INFO | jvm 1 | 2024/07/15 15:25:55 | *************************** INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Description: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Parameter 0 of constructor in net.srt.system.api.StorageApiImpl required a bean of type 'net.srt.storage.service.StorageService' that could not be found. INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Action: INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | Consider defining a bean of type 'net.srt.storage.service.StorageService' in your configuration. INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | INFO | jvm 1 | 2024/07/15 15:25:55 | WrapperSimpleApp: Encountered an error running main: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageApiImpl' defined in URL [jar:file:/home/leo/srt-service/srt-cloud-system/lib/srt-cloud-system-2.0.0.jar!/net/srt/system/api/StorageApiImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'storageApiImpl' defined in URL [jar:file:/home/leo/srt-service/srt-cloud-system/lib/srt-cloud-system-2.0.0.jar!/net/srt/system/api/StorageApiImpl.class]: Unsatisfied dependency expressed through constructor parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:800) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:229) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:1372) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1222) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:582) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:542) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractBeanFactory.lambda$doGetBean$0(AbstractBeanFactory.java:335) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:234) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:333) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:208) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:955) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:918) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:583) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:745) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:420) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:307) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1317) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.boot.SpringApplication.run(SpringApplication.java:1306) INFO | jvm 1 | 2024/07/15 15:25:55 | at net.srt.SystemApplication.main(SystemApplication.java:14) INFO | jvm 1 | 2024/07/15 15:25:55 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) INFO | jvm 1 | 2024/07/15 15:25:55 | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) INFO | jvm 1 | 2024/07/15 15:25:55 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) INFO | jvm 1 | 2024/07/15 15:25:55 | at java.lang.reflect.Method.invoke(Method.java:498) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240) INFO | jvm 1 | 2024/07/15 15:25:55 | at java.lang.Thread.run(Thread.java:750) INFO | jvm 1 | 2024/07/15 15:25:55 | Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'net.srt.storage.service.StorageService' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {} INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoMatchingBeanFound(DefaultListableBeanFactory.java:1801) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1357) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1311) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.resolveAutowiredArgument(ConstructorResolver.java:887) INFO | jvm 1 | 2024/07/15 15:25:55 | at org.springframework.beans.factory.support.ConstructorResolver.createArgumentArray(ConstructorResolver.java:791) INFO | jvm 1 | 2024/07/15 15:25:55 | ... 25 more INFO | jvm 1 | 2024/07/15 15:25:57 | 2024-07-15 15:25:57.485 WARN 197719 --- [ Thread-2] com.alibaba.nacos.common.http.HttpClientBeanHolder: [HttpClientBeanHolder] Start destroying common HttpClient INFO | jvm 1 | 2024/07/15 15:25:57 | 2024-07-15 15:25:57.486 WARN 197719 --- [ Thread-8] com.alibaba.nacos.common.notify.NotifyCenter: [NotifyCenter] Start destroying Publisher INFO | jvm 1 | 2024/07/15 15:25:57 | 2024-07-15 15:25:57.487 WARN 197719 --- [ Thread-2] com.alibaba.nacos.common.http.HttpClientBeanHolder: [HttpClientBeanHolder] Destruction of the end STATUS | wrapper | 2024/07/15 15:25:57 | <-- Wrapper Stopped ```
评论 (
4
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
未关联
master
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
Java
1
https://gitee.com/zrxjava/srt-data-center.git
git@gitee.com:zrxjava/srt-data-center.git
zrxjava
srt-data-center
数睿通数据中台
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册