spring-cloud启动报错

`Connected to the target VM, address: ‘127.0.0.1:2763’, transport: ‘socket’

2019-10-06 16:30:39 [ main:0 ] - [ INFO ] org.springframework.context.support.AbstractApplicationContext.prepareRefresh(AbstractApplicationContext.java:590) Refreshing org.springframework.context.annotation.AnnotationConfigApplicationContext@2ea6e30c: startup date [Sun Oct 06 16:30:39 CST 2019]; root of context hierarchy
2019-10-06 16:30:40 [ main:307 ] - [ INFO ] org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.(AutowiredAnnotationBeanPostProcessor.java:153) JSR-330 ‘javax.inject.Inject’ annotation found and supported for autowiring
2019-10-06 16:30:40 [ main:361 ] - [ INFO ] org.springframework.context.support.PostProcessorRegistrationDelegate B e a n P o s t P r o c e s s o r C h e c k e r . p o s t P r o c e s s A f t e r I n i t i a l i z a t i o n ( P o s t P r o c e s s o r R e g i s t r a t i o n D e l e g a t e . j a v a : 326 ) B e a n ′ c o n f i g u r a t i o n P r o p e r t i e s R e b i n d e r A u t o C o n f i g u r a t i o n ′ o f t y p e [ o r g . s p r i n g f r a m e w o r k . c l o u d . a u t o c o n f i g u r e . C o n f i g u r a t i o n P r o p e r t i e s R e b i n d e r A u t o C o n f i g u r a t i o n BeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:326) Bean 'configurationPropertiesRebinderAutoConfiguration' of type [org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration BeanPostProcessorChecker.postProcessAfterInitialization(PostProcessorRegistrationDelegate.java:326)BeanconfigurationPropertiesRebinderAutoConfigurationoftype[org.springframework.cloud.autoconfigure.ConfigurationPropertiesRebinderAutoConfiguration E n h a n c e r B y S p r i n g C G L I B EnhancerBySpringCGLIB EnhancerBySpringCGLIB$281ce050] is not eligible for getting processed by all BeanPostProcessors (for example: not eligible for auto-proxying)
2019-10-06 16:30:40.272 INFO 8736 — [ main] c.a.c.c.acm.AliCloudAcmInitializer : Initialize acm from acm configuration.

. ____ _ __ _ _
/\ / __ _ () __ __ _ \ \ \
( ( )_
_ | '_ | '| | ’ / ` | \ \ \
\/ )| |)| | | | | || (| | ) ) ) )
’ |
| .__|| ||| |__, | / / / /
=|_|======|/=////
:: Spring Boot :: (v2.0.5.RELEASE)

Sun Oct 06 16:30:40 CST 2019 sun.misc.Launcher A p p C l a s s L o a d e r @ 14 d a d 5 d c J M . L o g : I N F O I n i t J M l o g g e r w i t h S l f 4 j L o g g e r F a c t o r y s u c c e s s , s u n . m i s c . L a u n c h e r AppClassLoader@14dad5dc JM.Log:INFO Init JM logger with Slf4jLoggerFactory success, sun.misc.Launcher AppClassLoader@14dad5dcJM.Log:INFOInitJMloggerwithSlf4jLoggerFactorysuccess,sun.misc.LauncherAppClassLoader@14dad5dc
Sun Oct 06 16:30:40 CST 2019 sun.misc.LauncherKaTeX parse error: Undefined control sequence: \Users at position 54: …g root path: C:\̲U̲s̲e̲r̲s̲\GL17080010\log…AppClassLoader@14dad5dc JM.Log:INFO Set nacos log path: C:\Users\GL17080010\logs\nacos
2019-10-06 16:30:40.626 ERROR 8736 — [ main] o.s.c.a.nacos.NacosConfigProperties : create config service error!properties=NacosConfigProperties{serverAddr=‘null’, encode=‘null’, group=‘DEFAULT_GROUP’, prefix=‘null’, fileExtension=‘properties’, timeout=3000, endpoint=‘null’, namespace=‘null’, accessKey=‘null’, secretKey=‘null’, contextPath=‘null’, clusterName=‘null’, name=‘scorpio’, activeProfiles=[]},e=,

com.alibaba.nacos.api.exception.NacosException: null
at com.alibaba.nacos.api.config.ConfigFactory.createConfigService(ConfigFactory.java:48) ~[nacos-api-0.3.0.jar:na]
at com.alibaba.nacos.api.NacosFactory.createConfigService(NacosFactory.java:44) ~[nacos-api-0.3.0.jar:na]
at org.springframework.cloud.alibaba.nacos.NacosConfigProperties.configServiceInstance(NacosConfigProperties.java:265) ~[spring-cloud-alibaba-nacos-config-0.2.0.RELEASE.jar:0.2.0.RELEASE]
at org.springframework.cloud.alibaba.nacos.client.NacosPropertySourceLocator.locate(NacosPropertySourceLocator.java:52) [spring-cloud-alibaba-nacos-config-0.2.0.RELEASE.jar:0.2.0.RELEASE]
at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:94) [spring-cloud-context-2.0.1.RELEASE.jar:2.0.1.RELEASE]
at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:654) [spring-boot-2.0.5.RELEASE.jar:2.0.5.RELEASE]
at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:390) [spring-boot-2.0.5.RELEASE.jar:2.0.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:331) [spring-boot-2.0.5.RELEASE.jar:2.0.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1277) [spring-boot-2.0.5.RELEASE.jar:2.0.5.RELEASE]
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1265) [spring-boot-2.0.5.RELEASE.jar:2.0.5.RELEASE]
at io.wharfoo.biztier.scorpio.Application.main(Application.java:69) [classes/:na]

2019-10-06 16:30:40 [ main:799 ] - [ ERROR ] org.springframework.boot.diagnostics.LoggingFailureAnalysisReporter.report(LoggingFailureAnalysisReporter.java:42)


APPLICATION FAILED TO START


Description:

An attempt was made to call the method com.taobao.diamond.client.impl.DiamondEnvRepo.getDefaultEnv()Lcom/taobao/diamond/client/impl/DiamondEnv; but it does not exist. Its class, com.taobao.diamond.client.impl.DiamondEnvRepo, is available from the following locations:

jar:file:/D:/Java/repository/com/taobao/diamond/diamond-client/edas-3.7.3/diamond-client-edas-3.7.3.jar!/com/taobao/diamond/client/impl/DiamondEnvRepo.class
jar:file:/D:/Java/repository/com/alibaba/edas/acm/acm-sdk/1.0.8/acm-sdk-1.0.8.jar!/com/taobao/diamond/client/impl/DiamondEnvRepo.class

It was loaded from the following location:

file:/D:/Java/repository/com/taobao/diamond/diamond-client/edas-3.7.3/diamond-client-edas-3.7.3.jar

Action:

Correct the classpath of your application so that it contains a single, compatible version of com.taobao.diamond.client.impl.DiamondEnvRepo

Disconnected from the target VM, address: ‘127.0.0.1:2763’, transport: ‘socket’

Process finished with exit code 1`

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
提供的源码资源涵盖了安卓应用、小程序、Python应用和Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。
对于启动报错的问题,根据您提供的引用内容,您可能需要检查以下几个方面来解决问题: 1. 首先,您需要确保您的pom.xml文件中已经正确引入了依赖项spring-cloud-starter-alicloud-oss。请检查您的pom.xml文件,确认是否有以下配置: ``` <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>spring-cloud-starter-alicloud-oss</artifactId> </dependency> ``` 确保该依赖项的配置正确并且没有拼写错误。 2. 其次,您还需要检查您的版本信息是否匹配。根据引用中的信息,您可能需要确保您的版本信息如下: ``` spring boot: 2.6.6 spring cloud: 2021.0.1 spring cloud alibaba: 2021.0.1.0 aliyun-spring-boot-dependencies: 1.0.0 ``` 请检查您的版本信息并确认与您的依赖项配置一致。 3. 此外,根据引用和引用的信息,您还需要检查您是否在公共项目gulimall-common中引入了aliyun-oss-spring-boot-starter依赖项。请检查您的gulimall-common项目的pom.xml文件,确认是否有以下配置: ``` <dependency> <groupId>com.alibaba.cloud</groupId> <artifactId>aliyun-oss-spring-boot-starter</artifactId> </dependency> ``` 确保该依赖项的配置正确并且没有拼写错误。 综上所述,如果您的spring-cloud-starter-alicloud-oss启动报错,您可以检查pom.xml文件中的依赖项配置、版本信息以及公共项目中的依赖项配置,确保它们正确无误。希望这些信息对您有帮助。如果问题仍然存在,请参考阿里云官方文档或相关资源进行更深入的排查。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [【个人记录】阿里云OSS简化依赖[spring-cloud-starter-alicloud-oss]](https://blog.csdn.net/ykx____h/article/details/108918474)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] - *2* *3* [Spring Boot 项目导入 aliyun oss starter 依赖后启动报错的解决方案](https://blog.csdn.net/weixin_48084293/article/details/124075055)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT0_1"}}] [.reference_item style="max-width: 50%"] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值