SpringCloud H版 ,SpringCloudAlibaba 2.28 nacos 2.0.3启动 出现 com.alibaba.nacos.shaded.io.perfmark.impl.SecretPerfMarkImpl$PerfMarkImp,但不影响启动,是什么原因呢?
同问。蹲一个答案。报错信息如下: 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]
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。
阿里云拥有国内全面的云原生产品技术以及大规模的云原生应用实践,通过全面容器化、核心技术互联网化、应用 Serverless 化三大范式,助力制造业企业高效上云,实现系统稳定、应用敏捷智能。拥抱云原生,让创新无处不在。