com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present

Sonatype JIRA | Rich Seddon | 7 years ago
  1. 0

    Running in apache tomcat 6.0.26, using Java 1.5.0_05 Nexus 1.6.0 fails to start. This is a regression from 1.5.0. Upgrading to 1.5.0_22 fixes this issue, but I'm filing this because there may be something we can do to fix this in the guice code. {code} com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419) at com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get(FailableCache.java:46) at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:48) at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:120) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:412) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:667) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:599) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:188) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:139) at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:673) at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:787) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:820) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:781) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833) at org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:64) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62) at org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:207) at org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:50) at org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:119) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833) at org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:64) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:844) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:191) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:177) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419) at com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get(FailableCache.java:46) at com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:63) at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59) at com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:27) at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:35) at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:31) at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549) ... 79 more Caused by: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351) at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) at java.lang.reflect.Method.declaredAnnotations(Method.java:676) at java.lang.reflect.Method.getAnnotation(Method.java:663) at com.google.inject.spi.InjectionPoint.getAtInject(InjectionPoint.java:449) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:623) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:345) at com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:75) at com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:32) at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:40) at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:37) at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549) ... 89 more Caused by: java.lang.ClassNotFoundException: org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95) ... 106 more 2010-05-26 12:42:24 ERROR [main ] - o.s.g.p.b.DeferredP~ - Broken implementation: org.sonatype.nexus.rest.NexusApplication com.google.inject.ProvisionException: Guice provision errors: 1) Broken implementation: org.sonatype.nexus.rest.status.CommandPlexusResource at org.sonatype.guice.plexus.binders.PlexusBindingModule.bindPlexusComponent(PlexusBindingModule.java:113) at org.sonatype.guice.plexus.binders.PlexusBindingModule.bindPlexusComponent(PlexusBindingModule.java:113) while locating org.sonatype.plexus.rest.resource.ManagedPlexusResource annotated with @javax.inject.Named(value=CommandPlexusResource) while locating org.sonatype.nexus.rest.NexusApplication {code}

    Sonatype JIRA | 7 years ago | Rich Seddon
    com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present
  2. 0

    Running in apache tomcat 6.0.26, using Java 1.5.0_05 Nexus 1.6.0 fails to start. This is a regression from 1.5.0. Upgrading to 1.5.0_22 fixes this issue, but I'm filing this because there may be something we can do to fix this in the guice code. {code} com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419) at com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get(FailableCache.java:46) at com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:48) at com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:120) at com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:412) at com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:667) at com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:599) at com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:188) at com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:139) at com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:673) at com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:787) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:820) at com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:781) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833) at org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:64) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62) at org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:207) at org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:50) at org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:54) at com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:119) at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89) at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833) at org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851) at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40) at com.google.inject.Scopes$1$1.get(Scopes.java:64) at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40) at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798) at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:844) at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794) at org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:191) at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:177) at org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49) at com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703) at com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173) at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993) at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187) at org.apache.catalina.core.StandardContext.start(StandardContext.java:4496) at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791) at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771) at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546) at org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905) at org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740) at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500) at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277) at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321) at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053) at org.apache.catalina.core.StandardHost.start(StandardHost.java:785) at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045) at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443) at org.apache.catalina.core.StandardService.start(StandardService.java:519) at org.apache.catalina.core.StandardServer.start(StandardServer.java:710) at org.apache.catalina.startup.Catalina.start(Catalina.java:581) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Caused by: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:553) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419) at com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041) at com.google.inject.internal.FailableCache.get(FailableCache.java:46) at com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:63) at com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59) at com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:27) at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:35) at com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:31) at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549) ... 79 more Caused by: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351) at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) at java.lang.reflect.Method.declaredAnnotations(Method.java:676) at java.lang.reflect.Method.getAnnotation(Method.java:663) at com.google.inject.spi.InjectionPoint.getAtInject(InjectionPoint.java:449) at com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:623) at com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:345) at com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:75) at com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:32) at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:40) at com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:37) at com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35) at com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549) ... 89 more Caused by: java.lang.ClassNotFoundException: org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:242) at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95) ... 106 more 2010-05-26 12:42:24 ERROR [main ] - o.s.g.p.b.DeferredP~ - Broken implementation: org.sonatype.nexus.rest.NexusApplication com.google.inject.ProvisionException: Guice provision errors: 1) Broken implementation: org.sonatype.nexus.rest.status.CommandPlexusResource at org.sonatype.guice.plexus.binders.PlexusBindingModule.bindPlexusComponent(PlexusBindingModule.java:113) at org.sonatype.guice.plexus.binders.PlexusBindingModule.bindPlexusComponent(PlexusBindingModule.java:113) while locating org.sonatype.plexus.rest.resource.ManagedPlexusResource annotated with @javax.inject.Named(value=CommandPlexusResource) while locating org.sonatype.nexus.rest.NexusApplication {code}

    Sonatype JIRA | 7 years ago | Rich Seddon
    com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present
  3. 0

    Seeing this on recently upgraded master

    GitHub | 4 years ago | wezell
    java.lang.NoClassDefFoundError: com/dotcms/enterprise/ParentProxy
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    make sure captcha support works in java 7

    GitHub | 4 years ago | dotjorgeu
    java.lang.ClassNotFoundException: com.sun.image.codec.jpeg.JPEGCodec
  6. 0

    Unable to start dotCMS 2.5.4 with Windows 32 installer

    GitHub | 3 years ago | marfago
    java.lang.NoClassDefFoundError: com/dotcms/repackage/tika_app_1_3/org/apache/log4j/Logger
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature

    at org.apache.catalina.loader.WebappClassLoader.loadClass()
  2. Glassfish Core
    WebappClassLoader.loadClass
    1. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1516)
    2. org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1361)
    2 frames
  3. Java RT
    Method.getAnnotation
    1. java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    2. java.lang.Class.forName0(Native Method)
    3. java.lang.Class.forName(Class.java:242)
    4. sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:95)
    5. sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107)
    6. sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31)
    7. sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351)
    8. sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175)
    9. sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69)
    10. sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52)
    11. java.lang.reflect.Method.declaredAnnotations(Method.java:676)
    12. java.lang.reflect.Method.getAnnotation(Method.java:663)
    12 frames
  4. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.spi.InjectionPoint.getAtInject(InjectionPoint.java:449)
    2. com.google.inject.spi.InjectionPoint.getInjectionPoints(InjectionPoint.java:623)
    3. com.google.inject.spi.InjectionPoint.forInstanceMethodsAndFields(InjectionPoint.java:345)
    4. com.google.inject.internal.MembersInjectorStore.createWithListeners(MembersInjectorStore.java:75)
    5. com.google.inject.internal.MembersInjectorStore.access$000(MembersInjectorStore.java:32)
    6. com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:40)
    7. com.google.inject.internal.MembersInjectorStore$1.create(MembersInjectorStore.java:37)
    8. com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35)
    9. com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549)
    10. com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)
    11. com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
    12. com.google.inject.internal.FailableCache.get(FailableCache.java:46)
    13. com.google.inject.internal.MembersInjectorStore.get(MembersInjectorStore.java:63)
    14. com.google.inject.internal.ConstructorInjectorStore.createConstructor(ConstructorInjectorStore.java:59)
    15. com.google.inject.internal.ConstructorInjectorStore.access$000(ConstructorInjectorStore.java:27)
    16. com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:35)
    17. com.google.inject.internal.ConstructorInjectorStore$1.create(ConstructorInjectorStore.java:31)
    18. com.google.inject.internal.FailableCache$1.apply(FailableCache.java:35)
    19. com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:549)
    20. com.google.inject.internal.MapMaker$StrategyImpl.compute(MapMaker.java:419)
    21. com.google.inject.internal.CustomConcurrentHashMap$ComputingImpl.get(CustomConcurrentHashMap.java:2041)
    22. com.google.inject.internal.FailableCache.get(FailableCache.java:46)
    23. com.google.inject.internal.ConstructorInjectorStore.get(ConstructorInjectorStore.java:48)
    24. com.google.inject.internal.ConstructorBindingImpl.initialize(ConstructorBindingImpl.java:120)
    25. com.google.inject.internal.InjectorImpl.initializeJitBinding(InjectorImpl.java:412)
    26. com.google.inject.internal.InjectorImpl.createJustInTimeBinding(InjectorImpl.java:667)
    27. com.google.inject.internal.InjectorImpl.createJustInTimeBindingRecursive(InjectorImpl.java:599)
    28. com.google.inject.internal.InjectorImpl.getJustInTimeBinding(InjectorImpl.java:188)
    29. com.google.inject.internal.InjectorImpl.getBindingOrThrow(InjectorImpl.java:139)
    30. com.google.inject.internal.InjectorImpl.getInternalFactory(InjectorImpl.java:673)
    31. com.google.inject.internal.InjectorImpl.getProviderOrThrow(InjectorImpl.java:787)
    32. com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:820)
    33. com.google.inject.internal.InjectorImpl.getProvider(InjectorImpl.java:781)
    34. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833)
    34 frames
  5. Sisu-Inject-Plexus : legacy wrapper
    DeferredProvider.get
    1. org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60)
    1 frame
  6. Google Guice - Core Library
    InjectorImpl$4.get
    1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    2. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43)
    3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851)
    4. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    5. com.google.inject.Scopes$1$1.get(Scopes.java:64)
    6. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    7. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798)
    8. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851)
    9. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794)
    9 frames
  7. org.sonatype.guice
    LazyBean.getValue
    1. org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62)
    1 frame
  8. Sisu-Inject-Plexus : legacy wrapper
    ProvidedPropertyBinding.injectProperty
    1. org.sonatype.guice.plexus.binders.PlexusRequirements$RequirementProvider.get(PlexusRequirements.java:207)
    2. org.sonatype.guice.plexus.binders.ProvidedPropertyBinding.injectProperty(ProvidedPropertyBinding.java:50)
    2 frames
  9. org.sonatype.guice
    BeanInjector.injectMembers
    1. org.sonatype.guice.bean.inject.BeanInjector.injectMembers(BeanInjector.java:54)
    1 frame
  10. Google Guice - Core Library
    InjectorImpl.getInstance
    1. com.google.inject.internal.MembersInjectorImpl.injectMembers(MembersInjectorImpl.java:119)
    2. com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:89)
    3. com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:198)
    4. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798)
    5. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851)
    6. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794)
    7. com.google.inject.internal.InjectorImpl.getInstance(InjectorImpl.java:833)
    7 frames
  11. Sisu-Inject-Plexus : legacy wrapper
    DeferredProvider.get
    1. org.sonatype.guice.plexus.binders.DeferredProvider.get(DeferredProvider.java:60)
    1 frame
  12. Google Guice - Core Library
    InjectorImpl$4.get
    1. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    2. com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:43)
    3. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:851)
    4. com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
    5. com.google.inject.Scopes$1$1.get(Scopes.java:64)
    6. com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
    7. com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:798)
    8. com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:844)
    9. com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:794)
    9 frames
  13. org.sonatype.guice
    LazyBean.getValue
    1. org.sonatype.guice.plexus.locators.LazyBean.getValue(LazyBean.java:62)
    1 frame
  14. Plexus
    DefaultPlexusContainer.lookup
    1. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:191)
    2. org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:177)
    2 frames
  15. ${project.groupId}:${project.artifactId}
    PlexusServerServlet.createApplication
    1. org.sonatype.plexus.rest.PlexusServerServlet.createApplication(PlexusServerServlet.java:49)
    1 frame
  16. com.noelios.restlet
    ServerServlet.init
    1. com.noelios.restlet.ext.servlet.ServerServlet.getApplication(ServerServlet.java:703)
    2. com.noelios.restlet.ext.servlet.ServerServlet.init(ServerServlet.java:818)
    2 frames
  17. JavaServlet
    GenericServlet.init
    1. javax.servlet.GenericServlet.init(GenericServlet.java:212)
    1 frame
  18. Glassfish Core
    Catalina.start
    1. org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1173)
    2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:993)
    3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4187)
    4. org.apache.catalina.core.StandardContext.start(StandardContext.java:4496)
    5. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:791)
    6. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:771)
    7. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:546)
    8. org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:905)
    9. org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:740)
    10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
    11. org.apache.catalina.startup.HostConfig.start(HostConfig.java:1277)
    12. org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:321)
    13. org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
    14. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1053)
    15. org.apache.catalina.core.StandardHost.start(StandardHost.java:785)
    16. org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1045)
    17. org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
    18. org.apache.catalina.core.StandardService.start(StandardService.java:519)
    19. org.apache.catalina.core.StandardServer.start(StandardServer.java:710)
    20. org.apache.catalina.startup.Catalina.start(Catalina.java:581)
    20 frames
  19. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    4. java.lang.reflect.Method.invoke(Method.java:585)
    4 frames
  20. Glassfish Core
    Bootstrap.main
    1. org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)
    2. org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)
    2 frames