Skip to content

Unable to set up ExtractorChrome, fails with Can't create bean 'fetchProcessors'; Can't create bean 'crawlController'; Can't create bean 'extractorChrome' #560

Answered by vnznznz
vnznznz asked this question in Q&A
Discussion options

You must be logged in to vote

I solved it by setting lazy-init="true" on the bean! 🎉

  <!-- Chrome Extractor -->
  <bean id="extractorChrome" class="org.archive.modules.extractor.ExtractorChrome" lazy-init="true">
    <!-- Set your desired properties for the Chrome extractor -->
    <property name="executable" value="chromium-browser" />
    <property name="commandLineOptions">
      <list>
        <value>--headless=new</value>
        <value>--remote-allow-origins=*</value>
      </list>
    </property>
  </bean>

Here are parts of the stack trace, so future google searches might find this thread

Jun 27 08:32:53 rocky-8gb-fsn1-1 heritrix[899796]: Caused by: org.springframework.beans.factory.BeanCreationException: Erro…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@vnznznz
Comment options

Answer selected by vnznznz
@vnznznz
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants