vwjugow

Archetype Exception about cyclic dep

Mar 19th, 2014
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.41 KB | None | 0 0
  1. com.google.inject.ConfigurationException: Guice configuration errors:
  2.  
  3. 1) No implementation for ar.com.client.shared.DummyService was bound.
  4. while locating ar.com.client.shared.DummyService
  5. for field at ar.com.server.SimpleCDIService.dummyService(SimpleCDIService.java:16)
  6. while locating ar.com.server.SimpleCDIService
  7. for field at ar.com.server.DummyServiceImpl.cdiService(DummyServiceImpl.java:13)
  8. while locating ar.com.server.DummyServiceImpl
  9.  
  10. 2) No implementation for javax.enterprise.event.Event<ar.com.client.shared.Response> was bound.
  11. while locating javax.enterprise.event.Event<ar.com.client.shared.Response>
  12. for field at ar.com.server.SimpleCDIService.responseEvent(SimpleCDIService.java:16)
  13. while locating ar.com.server.SimpleCDIService
  14. for field at ar.com.server.DummyServiceImpl.cdiService(DummyServiceImpl.java:13)
  15. while locating ar.com.server.DummyServiceImpl
  16.  
  17. 2 errors
  18. at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
  19. at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:961)
  20. at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
  21. at org.jboss.errai.bus.server.service.ServiceProcessor.createRPCScaffolding(ServiceProcessor.java:248)
  22. at org.jboss.errai.bus.server.service.ServiceProcessor.processServiceClass(ServiceProcessor.java:100)
  23. at org.jboss.errai.bus.server.service.ServiceProcessor.process(ServiceProcessor.java:75)
  24. at org.jboss.errai.bus.server.service.ServiceProcessor.process(ServiceProcessor.java:62)
  25. at org.jboss.errai.bus.server.service.bootstrap.DiscoverServices.execute(DiscoverServices.java:52)
  26. at org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap.execute(OrderedBootstrap.java:56)
  27. at org.jboss.errai.bus.server.service.ErraiServiceImpl.boostrap(ErraiServiceImpl.java:72)
  28. at org.jboss.errai.bus.server.service.ErraiServiceImpl.<init>(ErraiServiceImpl.java:67)
  29. at org.jboss.errai.bus.server.service.ErraiServiceImpl$$FastClassByGuice$$7879947c.newInstance(<generated>)
  30. at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
  31. at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
  32. at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
  33. at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
  34. at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
  35. at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
  36. at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
  37. at com.google.inject.Scopes$1$1.get(Scopes.java:65)
  38. at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
  39. at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
  40. at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
  41. at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
  42. at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
  43. at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
  44. at org.jboss.errai.bus.server.service.ErraiServiceFactory.create(ErraiServiceFactory.java:30)
  45. at org.jboss.errai.bus.server.service.ErraiServiceSingleton.initSingleton(ErraiServiceSingleton.java:39)
  46. at org.jboss.errai.bus.server.servlet.ServletBootstrapUtil.initService(ServletBootstrapUtil.java:110)
  47. at org.jboss.errai.bus.server.servlet.ServletBootstrapUtil.getService(ServletBootstrapUtil.java:61)
  48. at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.init(AbstractErraiServlet.java:86)
  49. at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.init(DefaultBlockingServlet.java:88)
  50. at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
  51. at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
  52. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  53. at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
  54. at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
  55. at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
  56. at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
  57. at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
  58. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  59. at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
  60. at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
  61. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  62. at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
  63. at org.mortbay.jetty.Server.doStart(Server.java:224)
  64. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  65. at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672)
  66. at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
  67. at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
  68. at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:707)
  69. at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:652)
  70. at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)
  71. at junit.framework.TestCase.runBare(TestCase.java:134)
  72. at junit.framework.TestResult$1.protect(TestResult.java:110)
  73. at junit.framework.TestResult.runProtected(TestResult.java:128)
  74. at junit.framework.TestResult.run(TestResult.java:113)
  75. at junit.framework.TestCase.run(TestCase.java:124)
  76. at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)
  77. at junit.framework.TestSuite.runTest(TestSuite.java:232)
  78. Starting Jetty on port 0
  79. at junit.framework.TestSuite.run(TestSuite.java:227)
  80. at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
  81. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  82. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  83. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:140)
  84. at org.apache.maven.surefire.Surefire.run(Surefire.java:109)
  85. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  86. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  87. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  88. at java.lang.reflect.Method.invoke(Method.java:606)
  89. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
  90. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
  91. [WARN] unavailable
  92. com.google.inject.ProvisionException: Guice provision errors:
  93.  
  94. 1) Error injecting constructor, java.lang.RuntimeException: server bootstrap failed
  95. at org.jboss.errai.bus.server.service.ErraiServiceImpl.<init>(ErraiServiceImpl.java:64)
  96. at org.jboss.errai.bus.server.service.ErraiServiceImpl.class(ErraiServiceImpl.java:52)
  97. while locating org.jboss.errai.bus.server.service.ErraiServiceImpl
  98. while locating org.jboss.errai.bus.server.service.ErraiService
  99.  
  100. 1 error
  101. at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:987)
  102. at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
  103. at org.jboss.errai.bus.server.service.ErraiServiceFactory.create(ErraiServiceFactory.java:30)
  104. at org.jboss.errai.bus.server.service.ErraiServiceSingleton.initSingleton(ErraiServiceSingleton.java:39)
  105. at org.jboss.errai.bus.server.servlet.ServletBootstrapUtil.initService(ServletBootstrapUtil.java:110)
  106. at org.jboss.errai.bus.server.servlet.ServletBootstrapUtil.getService(ServletBootstrapUtil.java:61)
  107. at org.jboss.errai.bus.server.servlet.AbstractErraiServlet.init(AbstractErraiServlet.java:86)
  108. at org.jboss.errai.bus.server.servlet.DefaultBlockingServlet.init(DefaultBlockingServlet.java:88)
  109. at org.mortbay.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:440)
  110. at org.mortbay.jetty.servlet.ServletHolder.doStart(ServletHolder.java:263)
  111. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  112. at org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:685)
  113. at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
  114. at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1272)
  115. at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
  116. at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:489)
  117. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  118. at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
  119. at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
  120. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  121. at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
  122. at org.mortbay.jetty.Server.doStart(Server.java:224)
  123. at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
  124. at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:672)
  125. at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:509)
  126. at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1093)
  127. at com.google.gwt.junit.JUnitShell.getUnitTestShell(JUnitShell.java:707)
  128. at com.google.gwt.junit.JUnitShell.runTest(JUnitShell.java:652)
  129. at com.google.gwt.junit.client.GWTTestCase.runTest(GWTTestCase.java:441)
  130. at junit.framework.TestCase.runBare(TestCase.java:134)
  131. at junit.framework.TestResult$1.protect(TestResult.java:110)
  132. at junit.framework.TestResult.runProtected(TestResult.java:128)
  133. at junit.framework.TestResult.run(TestResult.java:113)
  134. at junit.framework.TestCase.run(TestCase.java:124)
  135. at com.google.gwt.junit.client.GWTTestCase.run(GWTTestCase.java:296)
  136. at junit.framework.TestSuite.runTest(TestSuite.java:232)
  137. at junit.framework.TestSuite.run(TestSuite.java:227)
  138. at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
  139. at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
  140. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
  141. at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:140)
  142. at org.apache.maven.surefire.Surefire.run(Surefire.java:109)
  143. at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  144. at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  145. at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  146. at java.lang.reflect.Method.invoke(Method.java:606)
  147. at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:290)
  148. at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1017)
  149. Caused by: java.lang.RuntimeException: server bootstrap failed
  150. at org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap.execute(OrderedBootstrap.java:64)
  151. at org.jboss.errai.bus.server.service.ErraiServiceImpl.boostrap(ErraiServiceImpl.java:72)
  152. at org.jboss.errai.bus.server.service.ErraiServiceImpl.<init>(ErraiServiceImpl.java:67)
  153. at org.jboss.errai.bus.server.service.ErraiServiceImpl$$FastClassByGuice$$7879947c.newInstance(<generated>)
  154. at com.google.inject.internal.cglib.reflect.$FastConstructor.newInstance(FastConstructor.java:40)
  155. at com.google.inject.internal.DefaultConstructionProxyFactory$1.newInstance(DefaultConstructionProxyFactory.java:60)
  156. at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:85)
  157. at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:254)
  158. at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
  159. at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1031)
  160. at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
  161. at com.google.inject.Scopes$1$1.get(Scopes.java:65)
  162. at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
  163. at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
  164. at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:978)
  165. at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:1024)
  166. at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:974)
  167. ... 47 more
  168. Caused by: com.google.inject.ConfigurationException: Guice configuration errors:
  169.  
  170. 1) No implementation for ar.com.client.shared.DummyService was bound.
  171. while locating ar.com.client.shared.DummyService
  172. for field at ar.com.server.SimpleCDIService.dummyService(SimpleCDIService.java:16)
  173. while locating ar.com.server.SimpleCDIService
  174. for field at ar.com.server.DummyServiceImpl.cdiService(DummyServiceImpl.java:13)
  175. while locating ar.com.server.DummyServiceImpl
  176.  
  177. 2) No implementation for javax.enterprise.event.Event<ar.com.client.shared.Response> was bound.
  178. while locating javax.enterprise.event.Event<ar.com.client.shared.Response>
  179. for field at ar.com.server.SimpleCDIService.responseEvent(SimpleCDIService.java:16)
  180. while locating ar.com.server.SimpleCDIService
  181. for field at ar.com.server.DummyServiceImpl.cdiService(DummyServiceImpl.java:13)
  182. while locating ar.com.server.DummyServiceImpl
  183.  
  184. 2 errors
  185. at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:1004)
  186. at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:961)
  187. at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:1013)
  188. at org.jboss.errai.bus.server.service.ServiceProcessor.createRPCScaffolding(ServiceProcessor.java:248)
  189. at org.jboss.errai.bus.server.service.ServiceProcessor.processServiceClass(ServiceProcessor.java:100)
  190. at org.jboss.errai.bus.server.service.ServiceProcessor.process(ServiceProcessor.java:75)
  191. at org.jboss.errai.bus.server.service.ServiceProcessor.process(ServiceProcessor.java:62)
  192. at org.jboss.errai.bus.server.service.bootstrap.DiscoverServices.execute(DiscoverServices.java:52)
  193. at org.jboss.errai.bus.server.service.bootstrap.OrderedBootstrap.execute(OrderedBootstrap.java:56)
  194. ... 63 more
  195. logging for HtmlUnit thread
  196. [WARN] Obsolete content type encountered: 'application/x-javascript'.
Advertisement
Add Comment
Please, Sign In to add comment