com.google.inject.internal.ComputationException

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

Samebug tips1

This means you're missing a class that Java needs for this program. Check if you're not missing the jsr305-1.3.7.jar from your classpath, it's the jar that contains the class javax.annotation.Nullable.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web20

  • via Sonatype JIRA by Rich Seddon, 1 year ago
    com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present
  • via Sonatype JIRA by Rich Seddon, 1 year ago
    com.google.inject.internal.ComputationException: java.lang.TypeNotPresentException: Type org.codehaus.enunciate.contract.jaxrs.ResourceMethodSignature not present
  • via Google Groups by Pavel Tavoda, 1 month ago
    : com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: com.google.inject.internal.ComputationException: java.lang.SecurityException: class "org.eclipse.xtext.naming.IQualifiedNameConverter"'s signer information does not match signer information of other classes in the same package
  • Stack trace

    • 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

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 10 months ago
    Once, 18 hours ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 3 months ago
    Unknown user
    Once, 4 months ago
    445 more bugmates