org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.data.rest.webmvc.RepositoryRestRequest]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()] with root cause java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()

Spring JIRA | Sri | 3 years ago
  1. 0

    Invoking /{repository?/schema with "application/schema+json" accept header fails because of binding fails to default constructor for "org.springframework.data.rest.webmvc.RepositoryRestRequest" Stacktrace: ------------------------------------------------------------------ EVERE: Servlet.service() for servlet [dispatcher] in context with path [/dc] threw exception [Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.data.rest.webmvc.RepositoryRestRequest]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()] with root cause java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>() at java.lang.Class.getConstructor0(Class.java:2706) at java.lang.Class.getDeclaredConstructor(Class.java:1985) at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:105) at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.createAttribute(ModelAttributeMethodProcessor.java:136) at org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor.createAttribute(ServletModelAttributeMethodProcessor.java:81) at org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:101) at org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:77) at org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162) at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:123) at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745) at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686) at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856) at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936) at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:662)

    Spring JIRA | 3 years ago | Sri
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.data.rest.webmvc.RepositoryRestRequest]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()] with root cause java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()
  2. 0

    Exception while starting up the server : java.lang.NoSuchMethodException: org.springframework.security.authentication.ProviderManager.<init>()

    Stack Overflow | 1 year ago | Pallav Jha
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.security.authentication.ProviderManager]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.security.authentication.ProviderManager.<init>()
  3. 0

    After installing applink, I cannot open any page outside the administration overview. After disabling *every* link renderer component, I can browse through confluence and do my work as I should. I took the newest version of your homepage of applink. In JIRA it works without any problems, and application linking works like a charm. Just in confluence the rendering engine won't work. {code}Cause org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:451) caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:58) caused by: java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() at java.lang.Class.getConstructor0(Class.java:2706) Stack Trace:[hide] org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() Caused by: java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() at java.lang.Class.getConstructor0(Class.java:2706) at java.lang.Class.getDeclaredConstructor(Class.java:1985) at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:54) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:757) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:722) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:386) at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:246) at com.atlassian.spring.container.SpringContainerContext.createCompleteComponent(SpringContainerContext.java:90) at com.atlassian.confluence.renderer.plugin.ConfluenceRendererComponentModuleDescriptor.instantiateComponentClass(ConfluenceRendererComponentModuleDescriptor.java:13) at com.atlassian.renderer.v2.plugin.RendererComponentModuleDescriptor.createComponent(RendererComponentModuleDescriptor.java:88) at com.atlassian.renderer.v2.plugin.RendererComponentModuleDescriptor.getModule(RendererComponentModuleDescriptor.java:53) at com.atlassian.renderer.v2.plugin.RendererComponentsAccessor.getActiveRendererComponents(RendererComponentsAccessor.java:42) at com.atlassian.renderer.v2.plugin.PluggableV2Renderer.getRenderer(PluggableV2Renderer.java:53) at com.atlassian.renderer.v2.plugin.PluggableV2Renderer.render(PluggableV2Renderer.java:30) at com.atlassian.renderer.v2.V2RendererFacade.convertWikiToXHtml(V2RendererFacade.java:57) at sun.reflect.GeneratedMethodAccessor269.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:304) at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149) at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:20) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204) at $Proxy64.convertWikiToXHtml(Unknown Source) at com.atlassian.confluence.pages.actions.ViewPageAction.execute(ViewPageAction.java:173) at com.comalatech.confluence.workflow.actions.ViewPageAction.execute(ViewPageAction.java:119) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:168) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.DefaultWorkflowInterceptor.intercept(DefaultWorkflowInterceptor.java:55) at com.atlassian.confluence.core.ConfluenceWorkflowInterceptor.intercept(ConfluenceWorkflowInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.XsrfTokenInterceptor.intercept(XsrfTokenInterceptor.java:100) at com.atlassian.confluence.xwork.ConfluenceXsrfTokenInterceptor.intercept(ConfluenceXsrfTokenInterceptor.java:18) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.interceptors.CaptchaInterceptor.intercept(CaptchaInterceptor.java:46) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.util.LoggingContextInterceptor.intercept(LoggingContextInterceptor.java:48) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.CancellingInterceptor.intercept(CancellingInterceptor.java:23) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.security.actions.PermissionCheckInterceptor.intercept(PermissionCheckInterceptor.java:54) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.setup.webwork.BootstrapAwareInterceptor.intercept(BootstrapAwareInterceptor.java:26) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.user.actions.UserAwareInterceptor.intercept(UserAwareInterceptor.java:57) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.CommentAwareInterceptor.intercept(CommentAwareInterceptor.java:44) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.pages.actions.PageAwareInterceptor.intercept(PageAwareInterceptor.java:109) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.spaces.actions.SpaceAwareInterceptor.intercept(SpaceAwareInterceptor.java:67) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.actions.LastModifiedInterceptor.intercept(LastModifiedInterceptor.java:39) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.confluence.core.ConfluenceAutowireInterceptor.intercept(ConfluenceAutowireInterceptor.java:38) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.atlassian.xwork.interceptors.TransactionalInvocation.invokeAndHandleExceptions(TransactionalInvocation.java:72) at com.atlassian.xwork.interceptors.TransactionalInvocation.invokeInTransaction(TransactionalInvocation.java:59) at com.atlassian.xwork.interceptors.XWorkTransactionInterceptor.intercept(XWorkTransactionInterceptor.java:56) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35) at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:165) at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:115) at com.atlassian.confluence.servlet.ConfluenceServletDispatcher.serviceAction(ConfluenceServletDispatcher.java:53) at com.opensymphony.webwork.dispatcher.ServletDispatcher.service(ServletDispatcher.java:199) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646) at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436) at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374) at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302) at com.atlassian.confluence.servlet.simpledisplay.SimpleDisplayServlet.service(SimpleDisplayServlet.java:59) at com.atlassian.confluence.servlet.SpringManagedServlet.service(SpringManagedServlet.java:64) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.opensymphony.module.sitemesh.filter.PageFilter.parsePage(PageFilter.java:118) at com.atlassian.confluence.util.profiling.ProfilingPageFilter.parsePage(ProfilingPageFilter.java:151) at com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:54) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.jmx.JmxFilter.doFilter(JmxFilter.java:105) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.ServletContextThreadLocalFilter.doFilter(ServletContextThreadLocalFilter.java:19) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.LoggingContextFilter.doFilter(LoggingContextFilter.java:46) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.web.filter.ThreadLocalCacheFilter.doFilter(ThreadLocalCacheFilter.java:23) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.UserThreadLocalFilter.doFilter(UserThreadLocalFilter.java:44) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:204) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.TrustedApplicationsFilter.doFilter(TrustedApplicationsFilter.java:120) at com.atlassian.confluence.util.AbstractBootstrapHotSwappingFilter.doFilter(AbstractBootstrapHotSwappingFilter.java:30) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:138) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.ClusterHeaderFilter.doFilter(ClusterHeaderFilter.java:35) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.johnson.filters.AbstractJohnsonFilter.doFilter(AbstractJohnsonFilter.java:72) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.springframework.orm.hibernate.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:170) at com.atlassian.spring.filter.FlushingSpringSessionInViewFilter.doFilterInternal(FlushingSpringSessionInViewFilter.java:29) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:75) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.util.profiling.filters.ProfilingFilter.doFilter(ProfilingFilter.java:99) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.core.datetime.RequestTimeThreadLocalFilter.doFilter(RequestTimeThreadLocalFilter.java:34) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.gzipfilter.GzipFilter.doFilterInternal(GzipFilter.java:81) at com.atlassian.gzipfilter.GzipFilter.doFilter(GzipFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.cache.AbstractCachingFilter.doFilter(AbstractCachingFilter.java:33) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter$1.doFilter(DelegatingPluginFilter.java:66) at com.atlassian.confluence.extra.webdav.servlet.filter.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:43) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.doFilter(DelegatingPluginFilter.java:74) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:42) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:55) at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:41) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.encoding.AbstractEncodingFilter.doFilter(AbstractEncodingFilter.java:41) at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454) at java.lang.Thread.run(Thread.java:619) Referer URL Unknown Confluence Application Information Build Information home: /opt/confluence-data buildNumber: 1627 upTime: 1 day, 2 hours, 28 minutes, 55 seconds devMode: false version: 3.0.0_01 Unique ID: 0x00000123372918AFAC1406BE5B8E839D75D55F7B3AB82831C766D823C7260F75 Server information Application Server: Apache Tomcat/6.0.20 Servlet Version: 2.5 Database Dialect: net.sf.hibernate.dialect.SQLServerDialect Database Driver Name: net.sourceforge.jtds.jdbc.Driver Database Driver Version: 1.2 Database Name: Microsoft SQL Server Database Version: 09.00.4035 Database Transaction Isolation: Read committed Database Latency: 1 Memory Information Total Memory: 742 MB Used Memory: 520 MB Free Memory: 222 MB System Information favouriteColour: Lemon chiffon javaRuntime: Java(TM) SE Runtime Environment jvmVersion: 1.0 operatingSystem: Linux 2.6.26-1-amd64 fileSystemEncoding: UTF-8 javaVm: Java HotSpot(TM) 64-Bit Server VM javaVendor: Sun Microsystems Inc. userTimezone: Europe/Zurich jvmImplementationVersion: 11.2-b01 appServer: Apache Tomcat date: Thursday, 20 Aug 2009 time: 11:35:23 jvmVendor: Sun Microsystems Inc. userName: root javaVersion: 1.6.0_12 operatingSystemArchitecture: amd64 Cluster Information Not clustered. Plugins Adaptavist Advanced Search (com.adaptavist.confluence.advancedSearch, Version: 1.0.5) Add Content Menu Sections (confluence.menu.add, Version: 1.0) Admin Sections (confluence.sections.admin, Version: 1.0) Advanced Macros (confluence.macros.advanced, Version: 1.6.2.8) Application Links (com.atlassian.applinks.confluence, Version: 2.0.1) Approvals Workflow plugin (com.comalatech.workflow, Version: 2.0.4) Atlassian UI Plugin (com.atlassian.auiplugin, Version: 1.0.2) Attachment Actions (confluence.sections.attachments, Version: 1.0) Attachment Extractors (com.atlassian.confluence.plugins.attachmentExtractors, Version: 1.0-SNAPSHOT) Basic Macros (confluence.macros.basic, Version: 1.4) Browse Menu Items (confluence.sections.browse, Version: 1.0) Cache Plugin (org.swift.confluence.cache, Version: 3.1.0) Chart Plugin (confluence.extra.chart, Version: 1.13) Code Macro (confluence.macros.code, Version: 1.5) Comment Action Sections (confluence.comment.action, Version: 1.0) Confluence Atlassian Plugin Repository (confluence.repository.client, Version: 2.1.4) Confluence Attachments Plugin (confluence.extra.attachments, Version: 2.15) Confluence Blogging RPC Plugin (com.atlassian.confluence.plugins.xmlrpc.bloggingrpc, Version: 1.2.4) Confluence Contributors Plugin (com.atlassian.confluence.contributors, Version: 1.2.3) Confluence HTML Macros (confluence.macros.html, Version: 1.7.2) Confluence PDF Export (com.atlassian.confluence.extra.flyingpdf, Version: 1.0.1) Confluence Remote API (confluence.extra.confluencerpc, Version: 3.0.0_01) Confluence Thread Dump Plugin (com.atlassian.confluence.plugin.threaddump, Version: 1.2) Content Action Menu Sections (confluence.content.action.menu, Version: 1.0) Content Buttons (confluence.sections.page.temp, Version: 1.0) Content Metadata (confluence.sections.content.metadata, Version: 1.0) Core Extractors (confluence.extractors.core, Version: 1.4) Core Listeners (confluence.listeners.core, Version: 1.3) Core Path Converters (confluence.converters.core, Version: 1.0) Core Startup and Shutdown (confluence.lifecycle.core, Version: 1) Dashboard Macros (confluence.macros.dashboard, Version: 1.12) Default Theme (com.atlassian.confluence.themes.default, Version: 1.0) Did You Mean Index Building Interface (confluence.sections.admin.indexing, Version: 1.0) Dynamic Task List 2 Plugin (confluence.extra.dynamictasklist2, Version: 3.2.4) Edit Settings Sections (confluence.sections.settings.edit, Version: 1.0) Editor Actions (confluence.editor.actions, Version: 1.0) Flash Plugin (org.swift.confluence.flash, Version: 3.0) Follow list resources (confluence.sections.user.follow.list, Version: 1.0) French language pack (confluence.languages.fr_FR, Version: 1.15) German language pack (confluence.languages.de_DE, Version: 1.9) Global Dashboard Actions (confluence.sections.dashboard.global, Version: 1.0) Global Labels Sections (confluence.sections.labels, Version: 1.0) Graphviz Plugin (com.atlassian.confluence.extra.graphviz, Version: 1.1.0) IM Presence NG Plugin (confluence.extra.impresence2, Version: 2.5) ImageMap Macros (de.dl.confluence.plugin.imagemap.ImageMapPlugin, Version: 1.6) Information Macros (confluence.extra.information, Version: 1.1) JIRA Macros (confluence.extra.jira, Version: 2.8.13) Layout Macros (confluence.extra.layout, Version: 1.3) Live Logging Plugin (com.atlassian.log, Version: 0.9.1) Live Search Macros (confluence.extra.livesearch, Version: 2.10) Lucene Boosting Strategies (confluence.search.lucene.boosting, Version: 1.0) Mail Page Plugin (com.atlassian.confluence.ext.mailpage, Version: 1.7) New Code Macro Plugin (com.atlassian.confluence.ext.newcode-macro-plugin, Version: 1.9.2) News Tabs (confluence.sections.news, Version: 1.0) Office Connector plugin (com.atlassian.confluence.extra.officeconnector, Version: 1.5) OpenOffice Extractor Plugin (org.panko.confluence.oo-extractor-plugin, Version: 1.0.1) Page Family Tag Cloud Plugin (com.adaptavist.confluence.pageFamilyTagCloud, Version: 1.1) Page Information Tools (com.adaptavist.confluence.pageinfo, Version: 1.2.9) Page Operations (confluence.sections.page.operations, Version: 1.0) Page Tabs (confluence.sections.page, Version: 1.0) Page Tabs (confluence.search.mappers.lucene, Version: 1.0) Page Tree (com.atlassian.confluence.plugins.pagetree, Version: 1.11) Page View Links (confluence.sections.page.actions, Version: 1.0) Profile Macros (confluence.macros.profile, Version: 1.0) Profile Tabs (confluence.sections.profile, Version: 1.0) SQL Plugin (org.swift.confluence.sql, Version: 3.5.0) Search Web Interface (confluence.sections.admin.generalconfig, Version: 1.0) Search Web Interface (confluence.sections.search.view, Version: 1.0) Shared Application Access Layer API (com.atlassian.sal.sal-api-2.0.3, Version: 2.0.3) Shared Application Access Layer Confluence Plugin (com.atlassian.sal.confluence, Version: 2.0.3) Social Bookmarking Plugin (com.atlassian.confluence.plugins.socialbookmarking, Version: 1.3.1) Space Actions Sections (confluence.sections.space.actions, Version: 1.0) Space Admin Sections (confluence.sections.space.admin, Version: 1.0) Space Advanced Sections (confluence.sections.space.advanced, Version: 1.0) Space Browse Sections (confluence.sections.space.browse, Version: 1.0) Space Export Web Interface (confluence.sections.space.export.view, Version: 1.0) Space Item Tabs (confluence.sections.space, Version: 1.0) Space Labels Sections (confluence.sections.space.labels, Version: 1.0) Space Pages Sections (confluence.sections.space.pages, Version: 1.0) SubSpace Plugin (de.communardo.confluence.plugins.subspace, Version: 1.4) System Web Resources (confluence.web.resources, Version: 1.0) Table of Contents Plugin (org.randombits.confluence.toc, Version: 2.4.10.1) Tabular Metadata (confluence.extra.masterdetail, Version: 2.8) TinyMCE Editor Plugin (com.atlassian.confluence.tinymceplugin, Version: 3.0.0_01) UWC Importer Admin Panel (com.atlassian.confluence.plugins.uwc.uwcimporter-adminpanel, Version: 1.1) User Administration (confluence.admin.user, Version: 1.0) User Hover Menu Sections (confluence.user.hover.menu, Version: 1.0) User Lister (confluence.extra.userlister, Version: 2.4.2) User Menu Sections (confluence.user.menu, Version: 1.0) User Menu Sections (confluence.user.menu.concise, Version: 1.0) User Status (confluence.userstatus, Version: 1.0) View Profile Web Interface (confluence.sections.profile.view, Version: 1.0) View follow resources (confluence.sections.user.view.follow, Version: 1.0) WebDAV Plugin (confluence.extra.webdav, Version: 2.3) Widget Connector (com.atlassian.confluence.extra.widgetconnector, Version: 1.3) Wiki Renderer Components (confluence.renderer.components, Version: 1.0) Request Information URL http://jira.coresystems.ch/confluence/500page.jsp URI /confluence/500page.jsp Context Path /confluence Servlet Path /500page.jsp Headers (Limited subset) host jira.coresystems.ch user-agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/531.3 (KHTML, like Gecko) Chrome/3.0.193.2 Safari/531.3 connection keep-alive cache-control max-age=0 Attributes javax.servlet.forward.request_uri /confluence/display/admin/AppLink javax.servlet.forward.context_path /confluence javax.servlet.forward.servlet_path /display javax.servlet.forward.path_info /500page.jsp os_securityfilter_already_filtered true javax.servlet.jsp.jspException org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() atlassian.core.seraph.original.url /display/admin/AppLink javax.servlet.error.status_code 500 javax.servlet.error.servlet_name simple-display __sitemesh__using_stream false com.atlassian.gzipfilter.GzipFilter_already_filtered true loginfilter.already.filtered true com.atlassian.confluence.web.ConfluenceJohnsonFilter_already_filtered true Confluence-Request-Time 1250760923263 javax.servlet.error.message com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered true webwork.valueStack com.opensymphony.xwork.util.OgnlValueStack@3f320e6c sessioninview.FILTERED true __sitemesh__filterapplied true javax.servlet.error.exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent': Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>() javax.servlet.error.request_uri /confluence/display/admin/AppLink Parameters (Limited subset) Confluence User dad{code}

    Ecosystem JIRA | 7 years ago | David Däster
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.atlassian.applinks.core.renderer.crucible.CrucibleReviewLinkRendererComponent.<init>()
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Spring does not use annotated constructor (@JsonCreator) for instantiation

    Stack Overflow | 2 years ago | Thomas Eizinger
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [at.landsteiner.patient.web.PatientResource]: No default constructor found; nested exception is java.lang.NoSuchMethodException: at.landsteiner.patient.web.PatientResource.&lt;init&gt;()
  6. 0

    Spring的bean中注入内部类

    csdn.net | 6 months ago
    org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [cn.outofmemory.spring.Person$Hand]: No default constructor found; nested exception is java.lang.NoSuchMethodException: cn.outofmemory.spring.Person$Hand.<init>()

    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. org.springframework.beans.BeanInstantiationException

      Could not instantiate bean class [org.springframework.data.rest.webmvc.RepositoryRestRequest]: No default constructor found; nested exception is java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()] with root cause java.lang.NoSuchMethodException: org.springframework.data.rest.webmvc.RepositoryRestRequest.<init>()

      at java.lang.Class.getConstructor0()
    2. Java RT
      Class.getDeclaredConstructor
      1. java.lang.Class.getConstructor0(Class.java:2706)
      2. java.lang.Class.getDeclaredConstructor(Class.java:1985)
      2 frames
    3. Spring Beans
      BeanUtils.instantiateClass
      1. org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:105)
      1 frame
    4. Spring
      ModelAttributeMethodProcessor.createAttribute
      1. org.springframework.web.method.annotation.ModelAttributeMethodProcessor.createAttribute(ModelAttributeMethodProcessor.java:136)
      1 frame
    5. Spring MVC
      ServletModelAttributeMethodProcessor.createAttribute
      1. org.springframework.web.servlet.mvc.method.annotation.ServletModelAttributeMethodProcessor.createAttribute(ServletModelAttributeMethodProcessor.java:81)
      1 frame
    6. Spring
      InvocableHandlerMethod.invokeForRequest
      1. org.springframework.web.method.annotation.ModelAttributeMethodProcessor.resolveArgument(ModelAttributeMethodProcessor.java:101)
      2. org.springframework.web.method.support.HandlerMethodArgumentResolverComposite.resolveArgument(HandlerMethodArgumentResolverComposite.java:77)
      3. org.springframework.web.method.support.InvocableHandlerMethod.getMethodArgumentValues(InvocableHandlerMethod.java:162)
      4. org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:123)
      4 frames
    7. Spring MVC
      FrameworkServlet.doGet
      1. org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:104)
      2. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:745)
      3. org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:686)
      4. org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:80)
      5. org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
      6. org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
      7. org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
      8. org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
      8 frames
    8. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:621)
      1 frame
    9. Spring MVC
      FrameworkServlet.service
      1. org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
      1 frame
    10. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:728)
      1 frame
    11. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
      10 frames
    12. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1023)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:312)
      3 frames
    13. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      3. java.lang.Thread.run(Thread.java:662)
      3 frames