Skip to content

Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE #1165

Description

@fuli66

Exception in thread "main" java.lang.NoSuchFieldError: INSTANCE at org.apache.http.conn.ssl.SSLConnectionSocketFactory.<clinit>(SSLConnectionSocketFactory.java:146) at us.codecraft.webmagic.downloader.HttpClientGenerator.buildSSLConnectionSocketFactory(HttpClientGenerator.java:52) at us.codecraft.webmagic.downloader.HttpClientGenerator.<init>(HttpClientGenerator.java:44) at us.codecraft.webmagic.downloader.HttpClientDownloader.<init>(HttpClientDownloader.java:40) at us.codecraft.webmagic.Spider.initComponent(Spider.java:280) at us.codecraft.webmagic.Spider.run(Spider.java:305) at com.mufeng.spider.GithubRepoPageProcessor.main(GithubRepoPageProcessor.java:30)

Activity

  1. sutra commented on Jun 5, 2024

    @sutra
    Collaborator

    Could you provide the output of mvn dependency:tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions