登录
注册
开源
企业版
高校版
搜索
帮助中心
使用条款
关于我们
开源
企业版
高校版
私有云
模力方舟
登录
注册
医疗 AI 怎么落地?本周四晚 19:30,「智医灵枢」开发者直播开讲,来听听一线医院的实战分享!
代码拉取完成,页面将自动刷新
捐赠
捐赠前请先登录
取消
前往登录
扫描微信二维码支付
取消
支付完成
支付提示
将跳转至支付宝完成支付
确定
取消
Watch
不关注
关注所有动态
仅关注版本发行动态
关注但不提醒动态
1
Star
20
Fork
7
JVS
/
jvs-docker-compose
代码
Issues
3
Pull Requests
0
Wiki
统计
流水线
服务
质量分析
Jenkins for Gitee
腾讯云托管
腾讯云 Serverless
悬镜安全
阿里云 SAE
Codeblitz
SBOM
我知道了,不再自动展开
更新失败,请稍后重试!
移除标识
内容风险标识
本任务被
标识为内容中包含有代码安全 Bug 、隐私泄露等敏感信息,仓库外成员不可访问
请问我按照部署视频搭建运行环境,出现报错,请问如何解决
待办的
#ICHIGL
ren-jiao
创建于
2025-06-24 18:10
nacos都已部署完成,访问无误,本地hosts文件也已修改,本地ping jvs-nacos 都通,把jvs代码下载到本地后,运行GatewayApplication报错,报错信息如下: E:\soft\jdk-8u351-windows-x64...... Connected to the target VM, address: '127.0.0.1:56926', transport: 'socket' . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.4.6) 2025-06-24 18:01:48.765 INFO 17196 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:C:\Users\admin\nacos\config 2025-06-24 18:01:48.788 INFO 17196 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0 2025-06-24 18:01:48.819 WARN 17196 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[application.yml] & group[DEFAULT_GROUP] 2025-06-24 18:01:48.830 WARN 17196 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[jvs.yml] & group[DEFAULT_GROUP] 2025-06-24 18:01:48.839 WARN 17196 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[jvs-gateway] & group[jvs] 2025-06-24 18:01:48.850 INFO 17196 --- [ main] c.a.nacos.client.config.utils.JvmUtil : isMultiInstance:false 2025-06-24 18:01:48.856 INFO 17196 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-jvs-gateway.yml,jvs'}, BootstrapPropertySource {name='bootstrapProperties-jvs-gateway,jvs'}, BootstrapPropertySource {name='bootstrapProperties-jvs.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application.yml,DEFAULT_GROUP'}] 2025-06-24 18:01:48.859 INFO 17196 --- [ main] cn.bctools.gateway.GatewayApplication : No active profile set, falling back to default profiles: default 2025-06-24 18:01:49.602 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2025-06-24 18:01:49.602 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-06-24 18:01:49.619 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 0 Redis repository interfaces. 2025-06-24 18:01:49.810 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2025-06-24 18:01:49.810 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-06-24 18:01:49.817 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. 2025-06-24 18:01:50.087 INFO 17196 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=fe51f698-491f-35cf-a7f3-eb74842db487 2025-06-24 18:01:50.338 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.340 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.346 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.347 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.348 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'reactorDeferringLoadBalancerExchangeFilterFunction' of type [org.springframework.cloud.client.loadbalancer.reactive.DeferringLoadBalancerExchangeFilterFunction] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:51.664 INFO 17196 --- [ main] c.b.database.config.DatabaseConfig : [mysql-data] 使用默认的表字段获取类: cn.bctools.database.getter.DefaultTableFieldGetter 2025-06-24 18:01:51.666 INFO 17196 --- [ main] c.b.database.config.DatabaseConfig : [mysql-data] 使用默认的数据源信息获取类: cn.bctools.database.getter.DefaultDataSourceGetter 2025-06-24 18:01:51.700 WARN 17196 --- [ main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationManager': Unsatisfied dependency expressed through field 'ignorePathService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ignorePathService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'gatewayIgnorePathMapper' defined in file [E:\IdeaProjects\JVS\jvs\jvs\jvs-gateway-common\target\classes\cn\bctools\gateway\mapper\GatewayIgnorePathMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class 2025-06-24 18:01:51.721 INFO 17196 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-06-24 18:01:51.735 ERROR 17196 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active). 2025-06-24 18:01:51.737 WARN 17196 --- [ Thread-5] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient 2025-06-24 18:01:51.737 WARN 17196 --- [ Thread-5] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end Disconnected from the target VM, address: '127.0.0.1:56926', transport: 'socket' Process finished with exit code 1
nacos都已部署完成,访问无误,本地hosts文件也已修改,本地ping jvs-nacos 都通,把jvs代码下载到本地后,运行GatewayApplication报错,报错信息如下: E:\soft\jdk-8u351-windows-x64...... Connected to the target VM, address: '127.0.0.1:56926', transport: 'socket' . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.4.6) 2025-06-24 18:01:48.765 INFO 17196 --- [ main] c.a.n.c.c.impl.LocalConfigInfoProcessor : LOCAL_SNAPSHOT_PATH:C:\Users\admin\nacos\config 2025-06-24 18:01:48.788 INFO 17196 --- [ main] c.a.nacos.client.config.impl.Limiter : limitTime:5.0 2025-06-24 18:01:48.819 WARN 17196 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[application.yml] & group[DEFAULT_GROUP] 2025-06-24 18:01:48.830 WARN 17196 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[jvs.yml] & group[DEFAULT_GROUP] 2025-06-24 18:01:48.839 WARN 17196 --- [ main] c.a.c.n.c.NacosPropertySourceBuilder : Ignore the empty nacos configuration and get it based on dataId[jvs-gateway] & group[jvs] 2025-06-24 18:01:48.850 INFO 17196 --- [ main] c.a.nacos.client.config.utils.JvmUtil : isMultiInstance:false 2025-06-24 18:01:48.856 INFO 17196 --- [ main] b.c.PropertySourceBootstrapConfiguration : Located property source: [BootstrapPropertySource {name='bootstrapProperties-jvs-gateway.yml,jvs'}, BootstrapPropertySource {name='bootstrapProperties-jvs-gateway,jvs'}, BootstrapPropertySource {name='bootstrapProperties-jvs.yml,DEFAULT_GROUP'}, BootstrapPropertySource {name='bootstrapProperties-application.yml,DEFAULT_GROUP'}] 2025-06-24 18:01:48.859 INFO 17196 --- [ main] cn.bctools.gateway.GatewayApplication : No active profile set, falling back to default profiles: default 2025-06-24 18:01:49.602 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2025-06-24 18:01:49.602 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-06-24 18:01:49.619 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 4 ms. Found 0 Redis repository interfaces. 2025-06-24 18:01:49.810 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Multiple Spring Data modules found, entering strict repository configuration mode! 2025-06-24 18:01:49.810 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data Redis repositories in DEFAULT mode. 2025-06-24 18:01:49.817 INFO 17196 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 7 ms. Found 0 Redis repository interfaces. 2025-06-24 18:01:50.087 INFO 17196 --- [ main] o.s.cloud.context.scope.GenericScope : BeanFactory id=fe51f698-491f-35cf-a7f3-eb74842db487 2025-06-24 18:01:50.338 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'spring.cloud.sentinel-com.alibaba.cloud.sentinel.SentinelProperties' of type [com.alibaba.cloud.sentinel.SentinelProperties] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.340 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration' of type [com.alibaba.cloud.sentinel.custom.SentinelAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.346 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.347 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig' of type [org.springframework.cloud.client.loadbalancer.reactive.LoadBalancerBeanPostProcessorAutoConfiguration$ReactorDeferringLoadBalancerFilterConfig] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:50.348 INFO 17196 --- [ main] trationDelegate$BeanPostProcessorChecker : Bean 'reactorDeferringLoadBalancerExchangeFilterFunction' of type [org.springframework.cloud.client.loadbalancer.reactive.DeferringLoadBalancerExchangeFilterFunction] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying) 2025-06-24 18:01:51.664 INFO 17196 --- [ main] c.b.database.config.DatabaseConfig : [mysql-data] 使用默认的表字段获取类: cn.bctools.database.getter.DefaultTableFieldGetter 2025-06-24 18:01:51.666 INFO 17196 --- [ main] c.b.database.config.DatabaseConfig : [mysql-data] 使用默认的数据源信息获取类: cn.bctools.database.getter.DefaultDataSourceGetter 2025-06-24 18:01:51.700 WARN 17196 --- [ main] onfigReactiveWebServerApplicationContext : Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'authorizationManager': Unsatisfied dependency expressed through field 'ignorePathService'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ignorePathService': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'gatewayIgnorePathMapper' defined in file [E:\IdeaProjects\JVS\jvs\jvs\jvs-gateway-common\target\classes\cn\bctools\gateway\mapper\GatewayIgnorePathMapper.class]: Unsatisfied dependency expressed through bean property 'sqlSessionFactory'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'sqlSessionFactory' defined in class path resource [com/baomidou/mybatisplus/autoconfigure/MybatisPlusAutoConfiguration.class]: Unsatisfied dependency expressed through method 'sqlSessionFactory' parameter 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dataSource' defined in class path resource [org/springframework/boot/autoconfigure/jdbc/DataSourceConfiguration$Hikari.class]: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.zaxxer.hikari.HikariDataSource]: Factory method 'dataSource' threw exception; nested exception is org.springframework.boot.autoconfigure.jdbc.DataSourceProperties$DataSourceBeanCreationException: Failed to determine a suitable driver class 2025-06-24 18:01:51.721 INFO 17196 --- [ main] ConditionEvaluationReportLoggingListener : Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled. 2025-06-24 18:01:51.735 ERROR 17196 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter : *************************** APPLICATION FAILED TO START *************************** Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configured. Reason: Failed to determine a suitable driver class Action: Consider the following: If you want an embedded database (H2, HSQL or Derby), please put it on the classpath. If you have database settings to be loaded from a particular profile you may need to activate it (no profiles are currently active). 2025-06-24 18:01:51.737 WARN 17196 --- [ Thread-5] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Start destroying common HttpClient 2025-06-24 18:01:51.737 WARN 17196 --- [ Thread-5] c.a.n.common.http.HttpClientBeanHolder : [HttpClientBeanHolder] Destruction of the end Disconnected from the target VM, address: '127.0.0.1:56926', transport: 'socket' Process finished with exit code 1
评论 (
1
)
登录
后才可以发表评论
状态
待办的
待办的
进行中
已完成
已关闭
负责人
未设置
标签
未设置
标签管理
里程碑
未关联里程碑
未关联里程碑
Pull Requests
未关联
未关联
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
未关联
分支 (8)
标签 (1)
2.1.8
2.1.6
2.3-bi-openSourceEdition
master
2.1.5
2.1.4
2.1.3
2.1.0
1.0.0
开始日期   -   截止日期
-
置顶选项
不置顶
置顶等级:高
置顶等级:中
置顶等级:低
优先级
不指定
严重
主要
次要
不重要
参与者(1)
JavaScript
1
https://gitee.com/software-minister/jvs-docker-compose.git
[email protected]
:software-minister/jvs-docker-compose.git
software-minister
jvs-docker-compose
jvs-docker-compose
点此查找更多帮助
搜索帮助
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
评论
仓库举报
回到顶部
登录提示
该操作需登录 Gitee 帐号,请先登录后再操作。
立即登录
没有帐号,去注册