org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auctionQueryController' defined in file [C:\Users\AP_520\Desktop\paa_allek_query-layer\target\classes\pl\bpo\archiwumallegro\controller\AuctionQueryController.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [pl.bpo.archiwumallegro.services.AuctionService]: : Error creating bean with name 'auctionService' defined in file [C:\Users\AP_520\Desktop\paa_allek_query-layer\target\classes\pl\bpo\archiwumallegro\services\AuctionService.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [pl.bpo.archiwumallegro.repositories.AuctionIndexRepository]: : Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auctionService' defined in file [C:\Users\AP_520\Desktop\paa_allek_query-layer\target\classes\pl\bpo\archiwumallegro\services\AuctionService.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [pl.bpo.archiwumallegro.repositories.AuctionIndexRepository]: : Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder)

Stack Overflow | rad11 | 4 months ago
  1. 0

    Spring boot creating beans error

    Stack Overflow | 4 months ago | rad11
    org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auctionQueryController' defined in file [C:\Users\AP_520\Desktop\paa_allek_query-layer\target\classes\pl\bpo\archiwumallegro\controller\AuctionQueryController.class]: Unsatisfied dependency expressed through constructor argument with index 0 of type [pl.bpo.archiwumallegro.services.AuctionService]: : Error creating bean with name 'auctionService' defined in file [C:\Users\AP_520\Desktop\paa_allek_query-layer\target\classes\pl\bpo\archiwumallegro\services\AuctionService.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [pl.bpo.archiwumallegro.repositories.AuctionIndexRepository]: : Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder); nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'auctionService' defined in file [C:\Users\AP_520\Desktop\paa_allek_query-layer\target\classes\pl\bpo\archiwumallegro\services\AuctionService.class]: Unsatisfied dependency expressed through constructor argument with index 1 of type [pl.bpo.archiwumallegro.repositories.AuctionIndexRepository]: : Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder); nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder)
  2. 0

    org.springframework.beans.factory.BeanCreationException (Spring forum at Coderanch)

    coderanch.com | 4 months ago
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employeeController': Injection of autowired dependencies failed; nested exception is[/b] org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sts.service.EmployeeService com.sts.controller.EmployeeController.employeeService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.view.InternalResourceResolver] for bean with name 'jspViewResolver' defined in ServletContext resource [/WEB-INF/config/sdnext-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.view.InternalResourceResolver[/b][i][b]15:16:03,804 INFO [STDOUT] 15:16:03,801 ERROR [DispatcherServlet] Context initialization failed org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'employeeController': Injection of autowired dependencies failed; nested exception is[/b] org.springframework.beans.factory.BeanCreationException: Could not autowire field: private com.sts.service.EmployeeService com.sts.controller.EmployeeController.employeeService; nested exception is org.springframework.beans.factory.CannotLoadBeanClassException: Cannot find class [org.springframework.web.servlet.view.InternalResourceResolver] for bean with name 'jspViewResolver' defined in ServletContext resource [/WEB-INF/config/sdnext-servlet.xml]; nested exception is java.lang.ClassNotFoundException: org.springframework.web.servlet.view.InternalResourceResolver[/i]
  3. 0

    How to Create Jetty Spring App With HBase Connection

    Stack Overflow | 3 years ago | David Williams
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'hConnection' defined in class com.example.myapp.context.Config: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method [public org.apache.hadoop.hbase.client.HConnection com.example.myapp.context.Config.hConnection() throws java.lang.Exception] threw exception; nested exception is java.lang.ExceptionInInitializerError
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error when creating JpaRepository

    Stack Overflow | 2 years ago | user292049
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'entityManagerFactoryTest' defined in file [C:\Tomcat\apache-tomcat-7.0.53-internal\webapps\appTest\WEB-INF\classes\applicationContext.xml]: Invocation of init method failed; nested exception is java.lang.NullPointerException
  6. 0

    Spring aop scoped-proxy not working on linux installation

    Stack Overflow | 3 years ago | tole
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scopedTarget.localeResolver': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.

  1. marcbouvierdav 11 times, last 1 month ago
3 unregistered visitors
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.factory.BeanCreationException

    Error creating bean with name 'auctionIndexRepository': Invocation of init method failed; nested exception is java.lang.IllegalArgumentException: Paging query needs to have a Pageable parameter! Offending method public abstract org.springframework.data.elasticsearch.core.FacetedPage pl.bpo.archiwumallegro.repositories.AuctionIndexRepository.search(org.springframework.data.elasticsearch.core.query.NativeSearchQueryBuilder)

    at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean()
  2. Spring Beans
    AbstractBeanFactory.doGetBean
    1. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1574)
    2. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:539)
    3. org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:476)
    4. org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:303)
    5. org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230)
    6. org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:299)
    6 frames