开发者社区 > 云原生 > 正文

SpringCloud H版报错但不影响启动是什么原因呢?

SpringCloud H版 ,SpringCloudAlibaba 2.28 nacos 2.0.3启动 出现 com.alibaba.nacos.shaded.io.perfmark.impl.SecretPerfMarkImpl$PerfMarkImp,但不影响启动,是什么原因呢?

展开
收起
哈喽!小陈 2022-08-08 17:23:03 1756 0
1 条回答
写回答
取消 提交回答
  • 同问。蹲一个答案。报错信息如下: java.lang.ClassNotFoundException: com.alibaba.nacos.shaded.io.perfmark.impl.SecretPerfMarkImpl$PerfMarkImpl at java.net.URLClassLoader.findClass(URLClassLoader.java:382) ~[na:1.8.0_281] at java.lang.ClassLoader.loadClass(ClassLoader.java:418) ~[na:1.8.0_281] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:355) ~[na:1.8.0_281] at java.lang.ClassLoader.loadClass(ClassLoader.java:351) ~[na:1.8.0_281] at java.lang.Class.forName0(Native Method) ~[na:1.8.0_281] at java.lang.Class.forName(Class.java:264) ~[na:1.8.0_281] at com.alibaba.nacos.shaded.io.perfmark.PerfMark.(PerfMark.java:36) ~[nacos-client-2.2.0.jar:na] at com.alibaba.nacos.shaded.io.grpc.internal.ClientCallImpl.(ClientCallImpl.java:109) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.shaded.io.grpc.internal.ManagedChannelImpl$RealChannel.newCall(ManagedChannelImpl.java:890) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.shaded.io.grpc.internal.ServiceConfigInterceptor.interceptCall(ServiceConfigInterceptor.java:137) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.shaded.io.grpc.ClientInterceptors$InterceptorChannel.newCall(ClientInterceptors.java:156) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.shaded.io.grpc.internal.ManagedChannelImpl.newCall(ManagedChannelImpl.java:855) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.shaded.io.grpc.internal.ForwardingManagedChannel.newCall(ForwardingManagedChannel.java:63) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.api.grpc.auto.RequestGrpc$RequestFutureStub.request(RequestGrpc.java:213) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.serverCheck(GrpcClient.java:195) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.common.remote.client.grpc.GrpcClient.connectToServer(GrpcClient.java:307) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.common.remote.client.RpcClient.start(RpcClient.java:359) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.ensureRpcClient(ClientWorker.java:893) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.getOneRunningClient(ClientWorker.java:1040) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker$ConfigRpcTransportClient.queryConfig(ClientWorker.java:948) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.client.config.impl.ClientWorker.getServerConfig(ClientWorker.java:404) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.client.config.NacosConfigService.getConfigInner(NacosConfigService.java:184) [nacos-client-2.2.0.jar:na] at com.alibaba.nacos.client.config.NacosConfigService.getConfig(NacosConfigService.java:96) [nacos-client-2.2.0.jar:na] at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.loadNacosData(NacosPropertySourceBuilder.java:85) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at com.alibaba.cloud.nacos.client.NacosPropertySourceBuilder.build(NacosPropertySourceBuilder.java:73) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosPropertySource(NacosPropertySourceLocator.java:199) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosDataIfPresent(NacosPropertySourceLocator.java:186) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadNacosConfiguration(NacosPropertySourceLocator.java:158) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.loadSharedConfiguration(NacosPropertySourceLocator.java:116) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at com.alibaba.cloud.nacos.client.NacosPropertySourceLocator.locate(NacosPropertySourceLocator.java:101) [spring-cloud-starter-alibaba-nacos-config-2021.0.4.0.jar:2021.0.4.0] at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:51) [spring-cloud-context-3.1.5.jar:3.1.5] at org.springframework.cloud.bootstrap.config.PropertySourceLocator.locateCollection(PropertySourceLocator.java:47) [spring-cloud-context-3.1.5.jar:3.1.5] at org.springframework.cloud.bootstrap.config.PropertySourceBootstrapConfiguration.initialize(PropertySourceBootstrapConfiguration.java:95) [spring-cloud-context-3.1.5.jar:3.1.5] at org.springframework.boot.SpringApplication.applyInitializers(SpringApplication.java:604) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.prepareContext(SpringApplication.java:373) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:306) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1303) [spring-boot-2.7.8.jar:2.7.8] at org.springframework.boot.SpringApplication.run(SpringApplication.java:1292) [spring-boot-2.7.8.jar:2.7.8] at com.persagy.ProviderApplication.main(ProviderApplication.java:19) [classes/:na]

    2023-02-23 15:55:46
    赞同 展开评论 打赏
问答标签:
问答地址:

阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。

相关电子书

更多
云栖社区特邀专家徐雷Java Spring Boot开发实战系列课程(第20讲):经典面试题与阿里等名企内部招聘求职面试技巧 立即下载
微服务架构模式与原理Spring Cloud开发实战 立即下载
阿里特邀专家徐雷Java Spring Boot开发实战系列课程(第18讲):制作Java Docker镜像与推送到DockerHub和阿里云Docker仓库 立即下载

相关实验场景

更多