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
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards 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