java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError: try t o access method examples/security/rdbmsrealm/RDBMSDelegate.<init>(Lexamples/secu rity/rdbmsrealm/RDBMSRealm;)V from class examples/security/rdbmsrealm/RDBMSDeleg ate$DFactory

Oracle Community | 3004 | 2 decades 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

    get IllegalAccessError when trying package examples.security.rdbmsrealm

    Oracle Community | 2 decades ago | 3004
    java.lang.reflect.InvocationTargetException: java.lang.IllegalAccessError: try t o access method examples/security/rdbmsrealm/RDBMSDelegate.<init>(Lexamples/secu rity/rdbmsrealm/RDBMSRealm;)V from class examples/security/rdbmsrealm/RDBMSDeleg ate$DFactory

    Root Cause Analysis

    1. java.lang.reflect.InvocationTargetException

      java.lang.IllegalAccessError: try t o access method examples/security/rdbmsrealm/RDBMSDelegate.<init>(Lexamples/secu rity/rdbmsrealm/RDBMSRealm;)V from class examples/security/rdbmsrealm/RDBMSDeleg ate$DFactory

      at examples.security.rdbmsrealm.RDBMSDelegate$DFactory.newInstance()
    2. examples.security.rdbmsrealm
      RDBMSDelegate$DFactory.newInstance
      1. examples.security.rdbmsrealm.RDBMSDelegate$DFactory.newInstance(RDBMSDelegate.java:895)
      1 frame