{"action":"opened","issue":{"url":"https://api.github.com/repos/ctripcorp/apollo/issues/1324","repository_url":"https://api.github.com/repos/ctripcorp/apollo","labels_url":"https://api.github.com/repos/ctripcorp/apollo/issues/1324/labels{/name}","comments_url":"https://api.github.com/repos/ctripcorp/apollo/issues/1324/comments","events_url":"https://api.github.com/repos/ctripcorp/apollo/issues/1324/events","html_url":"https://github.com/ctripcorp/apollo/issues/1324","id":346995549,"node_id":"MDU6SXNzdWUzNDY5OTU1NDk=","number":1324,"title":"springboot2.0启动就报这个错,急,大神","user":{"login":"showtimehzk","id":29396820,"node_id":"MDQ6VXNlcjI5Mzk2ODIw","avatar_url":"https://avatars1.githubusercontent.com/u/29396820?v=4","gravatar_id":"","url":"https://api.github.com/users/showtimehzk","html_url":"https://github.com/showtimehzk","followers_url":"https://api.github.com/users/showtimehzk/followers","following_url":"https://api.github.com/users/showtimehzk/following{/other_user}","gists_url":"https://api.github.com/users/showtimehzk/gists{/gist_id}","starred_url":"https://api.github.com/users/showtimehzk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/showtimehzk/subscriptions","organizations_url":"https://api.github.com/users/showtimehzk/orgs","repos_url":"https://api.github.com/users/showtimehzk/repos","events_url":"https://api.github.com/users/showtimehzk/events{/privacy}","received_events_url":"https://api.github.com/users/showtimehzk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-02T12:45:04Z","updated_at":"2018-08-02T12:45:04Z","closed_at":null,"author_association":"NONE","body":"ERROR SpringApplication Application run failed\r\n com.ctrip.framework.apollo.exceptions.ApolloConfigException: Unable to load instance for type com.ctrip.framework.apollo.internals.ConfigManager!\r\n\tat com.ctrip.framework.apollo.build.ApolloInjector.getInstance(ApolloInjector.java:38)\r\n\tat com.ctrip.framework.apollo.ConfigService.getManager(ConfigService.java:25)\r\n\tat com.ctrip.framework.apollo.ConfigService.getConfig(ConfigService.java:61)\r\n\tat com.ctrip.framework.apollo.spring.config.PropertySourcesProcessor.initializePropertySources(PropertySourcesProcessor.java:56)\r\n\tat com.ctrip.framework.apollo.spring.config.PropertySourcesProcessor.postProcessBeanFactory(PropertySourcesProcessor.java:39)\r\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:282)\r\n\tat org.springframework.context.support.PostProcessorRegistrationDelegate.invokeBeanFactoryPostProcessors(PostProcessorRegistrationDelegate.java:162)\r\n\tat org.springframework.context.support.AbstractApplicationContext.invokeBeanFactoryPostProcessors(AbstractApplicationContext.java:694)\r\n\tat org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:532)\r\n\tat org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:140)\r\n\tat org.springframework.boot.SpringApplication.refresh(SpringApplication.java:762)\r\n\tat org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:398)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:330)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1258)\r\n\tat org.springframework.boot.SpringApplication.run(SpringApplication.java:1246)\r\n\tat com.ulie.UlieApplication.main(UlieApplication.java:30)\r\nCaused by: com.ctrip.framework.apollo.exceptions.ApolloConfigException: Unable to initialize Apollo Injector!\r\n\tat com.ctrip.framework.apollo.build.ApolloInjector.getInjector(ApolloInjector.java:22)\r\n\tat com.ctrip.framework.apollo.build.ApolloInjector.getInstance(ApolloInjector.java:35)\r\n\t... 15 more\r\nCaused by: java.util.ServiceConfigurationError: com.ctrip.framework.apollo.internals.Injector: Provider com.ctrip.framework.apollo.internals.DefaultInjector could not be instantiated\r\n\tat java.util.ServiceLoader.fail(ServiceLoader.java:232)\r\n\tat java.util.ServiceLoader.access$100(ServiceLoader.java:185)\r\n\tat java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:384)\r\n\tat java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)\r\n\tat java.util.ServiceLoader$1.next(ServiceLoader.java:480)\r\n\tat com.ctrip.framework.foundation.internals.ServiceBootstrap.loadFirst(ServiceBootstrap.java:14)\r\n\tat com.ctrip.framework.apollo.build.ApolloInjector.getInjector(ApolloInjector.java:20)\r\n\t... 16 more\r\nCaused by: com.ctrip.framework.apollo.exceptions.ApolloConfigException: Unable to initialize Guice Injector!\r\n\tat com.ctrip.framework.apollo.internals.DefaultInjector.<init>(DefaultInjector.java:29)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)\r\n\tat sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)\r\n\tat java.lang.reflect.Constructor.newInstance(Constructor.java:423)\r\n\tat java.lang.Class.newInstance(Class.java:442)\r\n\tat java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:380)\r\n\t... 20 more\r\nCaused by: java.lang.NoClassDefFoundError: com/google/inject/Module\r\n\tat com.ctrip.framework.apollo.internals.DefaultInjector.<init>(DefaultInjector.java:27)\r\n\t... 26 more\r\nCaused by: java.lang.ClassNotFoundException: com.google.inject.Module\r\n\tat java.net.URLClassLoader.findClass(URLClassLoader.java:381)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:424)\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)\r\n\tat java.lang.ClassLoader.loadClass(ClassLoader.java:357)\r\n\t... 27 more"}}
{"actor":{"display_login":"showtimehzk"}}