java.lang.IllegalAccessError: tried to access class org.cloudfoundry.reactor.util.DefaultSslCertificateTruster from class org.cloudfoundry.reactor._DefaultConnectionContext

Stack Overflow | Chandan Patra | 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

    java.lang.IllegalAccessError while running cf-java-client

    Stack Overflow | 9 months ago | Chandan Patra
    java.lang.IllegalAccessError: tried to access class org.cloudfoundry.reactor.util.DefaultSslCertificateTruster from class org.cloudfoundry.reactor._DefaultConnectionContext

    Root Cause Analysis

    1. java.lang.IllegalAccessError

      tried to access class org.cloudfoundry.reactor.util.DefaultSslCertificateTruster from class org.cloudfoundry.reactor._DefaultConnectionContext

      at org.cloudfoundry.reactor._DefaultConnectionContext.getSslCertificateTruster()
    2. org.cloudfoundry.reactor
      DefaultConnectionContext$Builder.build
      1. org.cloudfoundry.reactor._DefaultConnectionContext.getSslCertificateTruster(_DefaultConnectionContext.java:165)
      2. org.cloudfoundry.reactor.DefaultConnectionContext.access$1601(DefaultConnectionContext.java:26)
      3. org.cloudfoundry.reactor.DefaultConnectionContext$InitShim.getSslCertificateTruster(DefaultConnectionContext.java:155)
      4. org.cloudfoundry.reactor.DefaultConnectionContext.getSslCertificateTruster(DefaultConnectionContext.java:283)
      5. org.cloudfoundry.reactor._DefaultConnectionContext.getHttpClient(_DefaultConnectionContext.java:69)
      6. org.cloudfoundry.reactor.DefaultConnectionContext.access$1101(DefaultConnectionContext.java:26)
      7. org.cloudfoundry.reactor.DefaultConnectionContext$InitShim.getHttpClient(DefaultConnectionContext.java:80)
      8. org.cloudfoundry.reactor.DefaultConnectionContext.<init>(DefaultConnectionContext.java:58)
      9. org.cloudfoundry.reactor.DefaultConnectionContext.<init>(DefaultConnectionContext.java:26)
      10. org.cloudfoundry.reactor.DefaultConnectionContext$Builder.build(DefaultConnectionContext.java:702)
      10 frames
    3. com.opt.pcf
      PCFJavaClient.main
      1. com.opt.pcf.ops.client.PCFJavaClient.main(PCFJavaClient.java:13)
      1 frame