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 | 5 months ago
  1. 0
    You don't have an active HTTP session when the bean is requested.
  2. 0

    Spring boot creating beans error

    Stack Overflow | 5 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)
  3. 0

    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'securityServiceImpl':

    Stack Overflow | 8 months ago | Blaze
    org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.security.authentication.AuthenticationManager com.springfoundation.service.SecurityServiceImpl.authenticationManager; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No unique bean of type [org.springframework.security.authentication.AuthenticationManager] is defined: expected single matching bean but found 3: [org.springframework.security.config.authentication.AuthenticationManagerFactoryBean#0, org.springframework.security.authentication.ProviderManager#0, org.springframework.security.authenticationManager]
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

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

    coderanch.com | 5 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]
  6. 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

  1. linxiaolong 3 times, last 2 weeks ago
  2. marcbouvierdav 11 times, last 3 months 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