{"action":"created","issue":{"url":"https://api.github.com/repos/grpc/grpc-java/issues/3337","repository_url":"https://api.github.com/repos/grpc/grpc-java","labels_url":"https://api.github.com/repos/grpc/grpc-java/issues/3337/labels{/name}","comments_url":"https://api.github.com/repos/grpc/grpc-java/issues/3337/comments","events_url":"https://api.github.com/repos/grpc/grpc-java/issues/3337/events","html_url":"https://github.com/grpc/grpc-java/issues/3337","id":249524533,"number":3337,"title":"springboot startup with java.lang.ClassNotFoundException: com.google.instrumentation.trace.TraceComponentImpl","user":{"login":"wangzhenxyz1","id":1324712,"avatar_url":"https://avatars3.githubusercontent.com/u/1324712?v=4","gravatar_id":"","url":"https://api.github.com/users/wangzhenxyz1","html_url":"https://github.com/wangzhenxyz1","followers_url":"https://api.github.com/users/wangzhenxyz1/followers","following_url":"https://api.github.com/users/wangzhenxyz1/following{/other_user}","gists_url":"https://api.github.com/users/wangzhenxyz1/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzhenxyz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzhenxyz1/subscriptions","organizations_url":"https://api.github.com/users/wangzhenxyz1/orgs","repos_url":"https://api.github.com/users/wangzhenxyz1/repos","events_url":"https://api.github.com/users/wangzhenxyz1/events{/privacy}","received_events_url":"https://api.github.com/users/wangzhenxyz1/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-11T02:23:07Z","updated_at":"2017-08-18T00:58:15Z","closed_at":"2017-08-18T00:58:15Z","body":"Please answer these questions before submitting your issue.\r\n\r\n### What version of gRPC are you using?\r\n1.3.0 1.4.0 1.5.0\r\n\r\n### What JVM are you using (`java -version`)?\r\njdk6 jdk7 jdk8\r\n\r\n### What did you do?\r\nIf possible, provide a recipe for reproducing the error.\r\nstartup springboot with log debug level\r\n\r\n### What did you expect to see?\r\nnot output debug exception.\r\n\r\n### What did you see instead?\r\n```\r\n2017-08-11 10:18:54.111 DEBUG 9000 --- [           main] com.google.instrumentation.trace.Tracer  : Using default implementation for TraceComponent.\r\n\r\njava.lang.ClassNotFoundException: com.google.instrumentation.trace.TraceComponentImpl\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381) ~[na:1.8.0_121]\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[na:1.8.0_121]\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331) ~[na:1.8.0_121]\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[na:1.8.0_121]\r\n\tat java.lang.Class.forName0(Native Method) ~[na:1.8.0_121]\r\n\tat java.lang.Class.forName(Class.java:348) ~[na:1.8.0_121]\r\n\tat com.google.instrumentation.trace.Tracing.loadTraceComponent(Tracing.java:51) [instrumentation-api-0.4.3.jar:0.4.3]\r\n\tat com.google.instrumentation.trace.Tracing.<clinit>(Tracing.java:25) [instrumentation-api-0.4.3.jar:0.4.3]\r\n\tat io.grpc.internal.AbstractServerImplBuilder.getTracerFactories(AbstractServerImplBuilder.java:209) [grpc-core-1.5.0.jar:1.5.0]\r\n\tat io.grpc.internal.AbstractServerImplBuilder.build(AbstractServerImplBuilder.java:189) [grpc-core-1.5.0.jar:1.5.0]\r\n\tat cn.enncloud.ceres.spring.ServiceBean.createServer(ServiceBean.java:185) [ceres-1.0.3-SNAPSHOT.jar:1.0.3-SNAPSHOT]\r\n\tat cn.enncloud.ceres.spring.ServiceBean.onApplicationEvent(ServiceBean.java:98) [ceres-1.0.3-SNAPSHOT.jar:1.0.3-SNAPSHOT]\r\n\tat cn.enncloud.ceres.spring.ServiceBean.onApplicationEvent(ServiceBean.java:58) [ceres-1.0.3-SNAPSHOT.jar:1.0.3-SNAPSHOT]\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:167) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]\r\n\tat org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:139) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:383) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.publishEvent(AbstractApplicationContext.java:337) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:882) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:545) [spring-context-4.3.8.RELEASE.jar:4.3.8.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:737) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:370) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:314) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1162) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1151) [spring-boot-1.5.3.RELEASE.jar:1.5.3.RELEASE]\r\n\tat com.demo.boot.CeresBootServerApplication.main(CeresBootServerApplication.java:10) [classes/:na]\r\n```\r\n\r\ngrpc dependency:\r\n```\r\n<dependency>\r\n    <groupId>com.google.instrumentation</groupId>\r\n    <artifactId>instrumentation-api</artifactId>\r\n    <version>0.4.3</version>\r\n</dependency>\r\n```\r\nnot exist TraceComponentImpl.java\r\n\r\nnow new alternatives:\r\ncensus-instrumentation/opencensus-java\r\nimpl/src/main/java/io/opencensus/trace/TraceComponentImpl.java\r\n\r\n**but not release**\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/grpc/grpc-java/issues/comments/323232163","html_url":"https://github.com/grpc/grpc-java/issues/3337#issuecomment-323232163","issue_url":"https://api.github.com/repos/grpc/grpc-java/issues/3337","id":323232163,"user":{"login":"wangzhenxyz1","id":1324712,"avatar_url":"https://avatars3.githubusercontent.com/u/1324712?v=4","gravatar_id":"","url":"https://api.github.com/users/wangzhenxyz1","html_url":"https://github.com/wangzhenxyz1","followers_url":"https://api.github.com/users/wangzhenxyz1/followers","following_url":"https://api.github.com/users/wangzhenxyz1/following{/other_user}","gists_url":"https://api.github.com/users/wangzhenxyz1/gists{/gist_id}","starred_url":"https://api.github.com/users/wangzhenxyz1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wangzhenxyz1/subscriptions","organizations_url":"https://api.github.com/users/wangzhenxyz1/orgs","repos_url":"https://api.github.com/users/wangzhenxyz1/repos","events_url":"https://api.github.com/users/wangzhenxyz1/events{/privacy}","received_events_url":"https://api.github.com/users/wangzhenxyz1/received_events","type":"User","site_admin":false},"created_at":"2017-08-18T00:58:15Z","updated_at":"2017-08-18T00:58:15Z","body":"@ejona86  ok, i close the issue."}}
{"actor":{"display_login":"wangzhenxyz1"}}