org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'otherSocialMediaUploader': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.agrud.agp.news.repo.NewsSummarizedRepo com.agrud.agp.socialmedia.helper.OtherSocialMediaUploader.otherSummerizedNewsRepo; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newsSummarizedRepo': FactoryBean threw exception on object creation; nested exception is java.lang.AbstractMethodError: org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor.postProcess(Lorg/springframework/aop/framework/ProxyFactory;)V

Stack Overflow | Ratul Sarkar | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    jpa.repository.support.CrudMethodMetadataPostProcessor.postProcess(Lorg/springframework/aop/framework/ProxyFactory;)V

    Stack Overflow | 9 months ago | Ratul Sarkar
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'otherSocialMediaUploader': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: com.agrud.agp.news.repo.NewsSummarizedRepo com.agrud.agp.socialmedia.helper.OtherSocialMediaUploader.otherSummerizedNewsRepo; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'newsSummarizedRepo': FactoryBean threw exception on object creation; nested exception is java.lang.AbstractMethodError: org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor.postProcess(Lorg/springframework/aop/framework/ProxyFactory;)V
  2. 0

    Inserting images in DB using blob type

    java-forums.org | 1 year ago
    java.lang.AbstractMethodError: org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStat ement.setBinaryStream(ILjava/io/InputStream;)V at com.att.smartchathome.dao.DataServiceInterfaceImpl .setviaImageinputStream(DataServiceInterfaceImpl.j ava:15688) at com.att.smartchathome.testfileupload.doPost(testfi leupload.java:81) at javax.servlet.http.HttpServlet.service(HttpServlet .java:637) at javax.servlet.http.HttpServlet.service(HttpServlet .java:717) at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invo ke(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.invok e(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:293) at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:849) at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583) at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:454)

    Root Cause Analysis

    1. java.lang.AbstractMethodError

      org.springframework.data.jpa.repository.support.CrudMethodMetadataPostProcessor.postProcess(Lorg/springframework/aop/framework/ProxyFactory;)V

      at org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository()
    2. Spring Data Core
      RepositoryFactoryBeanSupport.getObject
      1. org.springframework.data.repository.core.support.RepositoryFactorySupport.getRepository(RepositoryFactorySupport.java:158)
      2. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:162)
      3. org.springframework.data.repository.core.support.RepositoryFactoryBeanSupport.getObject(RepositoryFactoryBeanSupport.java:44)
      3 frames
    3. Spring Beans
      DefaultListableBeanFactory.preInstantiateSingletons
      1. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:168)
      2. org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:103)
      3. org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1512)
      4. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:313)
      5. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      6. org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1081)
      7. org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1006)
      8. org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:904)
      9. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:527)
      10. org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:87)
      11. org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)
      12. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1204)
      13. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:538)
      14. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
      15. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:302)
      16. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:229)
      17. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:298)
      18. org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:193)
      19. org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:725)
      19 frames
    4. Spring Context
      AbstractApplicationContext.refresh
      1. org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:757)
      2. org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:480)
      2 frames
    5. Spring MVC
      HttpServletBean.init
      1. org.springframework.web.servlet.FrameworkServlet.configureAndRefreshWebApplicationContext(FrameworkServlet.java:663)
      2. org.springframework.web.servlet.FrameworkServlet.initWebApplicationContext(FrameworkServlet.java:535)
      3. org.springframework.web.servlet.FrameworkServlet.initServletBean(FrameworkServlet.java:489)
      4. org.springframework.web.servlet.HttpServletBean.init(HttpServletBean.java:136)
      4 frames
    6. JavaServlet
      GenericServlet.init
      1. javax.servlet.GenericServlet.init(GenericServlet.java:158)
      1 frame
    7. Glassfish Core
      HostConfig.check
      1. org.apache.catalina.core.StandardWrapper.initServlet(StandardWrapper.java:1231)
      2. org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:1034)
      3. org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4923)
      4. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5215)
      5. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      6. org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:725)
      7. org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:701)
      8. org.apache.catalina.core.StandardHost.addChild(StandardHost.java:717)
      9. org.apache.catalina.startup.HostConfig.deployDescriptor(HostConfig.java:586)
      10. org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:460)
      11. org.apache.catalina.startup.HostConfig.check(HostConfig.java:1586)
      11 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    9. Embedded GlassFish Web
      BaseModelMBean.invoke
      1. org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:300)
      1 frame
    10. Java RT
      JmxMBeanServer.invoke
      1. com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:819)
      2. com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:801)
      2 frames
    11. org.apache.catalina
      ManagerServlet.doGet
      1. org.apache.catalina.manager.ManagerServlet.check(ManagerServlet.java:1460)
      2. org.apache.catalina.manager.ManagerServlet.deploy(ManagerServlet.java:906)
      3. org.apache.catalina.manager.ManagerServlet.doGet(ManagerServlet.java:344)
      3 frames
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:622)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      2 frames
    13. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:291)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    14. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    15. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      2 frames
    16. org.netbeans.modules
      MonitorFilter.doFilter
      1. org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:393)
      1 frame
    17. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      3. org.apache.catalina.filters.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:108)
      4. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:239)
      5. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
      6. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:217)
      7. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106)
      8. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:614)
      9. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:142)
      10. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79)
      11. org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616)
      12. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88)
      13. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:518)
      13 frames
    18. Grizzly HTTP
      NioEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1091)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:673)
      3. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1500)
      4. org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1456)
      4 frames
    19. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      2 frames
    20. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    21. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame