Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MetadataService logs error msg when using generic implementation. #4641

Closed
chickenlj opened this issue Jul 23, 2019 · 2 comments · Fixed by #4660
Closed

MetadataService logs error msg when using generic implementation. #4641

chickenlj opened this issue Jul 23, 2019 · 2 comments · Fixed by #4660
Assignees
Milestone

Comments

@chickenlj
Copy link
Contributor

[23/07/19 05:30:24:024 CST] main ERROR integration.MetadataReportService: [DUBBO] publishProvider getServiceDescriptor error. providerUrl: dubbo://30.5.121.125:20880/org.apache.dubbo.samples.generic.call.api.HelloService?anyhost=true&application=generic-impl-provider&deprecated=false&dubbo=2.0.2&dynamic=true&generic=true&interface=org.apache.dubbo.samples.generic.call.api.HelloService&methods=*&register=true&release=2.7.3&side=provider, dubbo version: 2.7.3, current host: 30.5.121.125
java.lang.ClassNotFoundException: org.apache.dubbo.samples.generic.call.api.HelloService
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:335)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:264)
at org.apache.dubbo.metadata.integration.MetadataReportService.publishProvider(MetadataReportService.java:97)
at org.apache.dubbo.config.ServiceConfig.doExportUrlsFor1Protocol(ServiceConfig.java:623)
at org.apache.dubbo.config.ServiceConfig.doExportUrls(ServiceConfig.java:457)
at org.apache.dubbo.config.ServiceConfig.doExport(ServiceConfig.java:415)
at org.apache.dubbo.config.ServiceConfig.export(ServiceConfig.java:378)
at org.apache.dubbo.samples.generic.call.GenericImplProvider.main(GenericImplProvider.java:48)

Reproduce by running dubbo-samples-generic-impl

@cvictory
Copy link
Contributor

I will check this issue.

@cvictory cvictory added this to the 2.7.4 milestone Jul 25, 2019
cvictory added a commit to cvictory/dubbo that referenced this issue Jul 25, 2019
cvictory added a commit to cvictory/dubbo that referenced this issue Jul 25, 2019
cvictory added a commit to cvictory/dubbo that referenced this issue Jul 25, 2019
cvictory added a commit to cvictory/dubbo that referenced this issue Jul 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants