java.lang.IllegalAccessException

Class pack2.Other can not access a member of class pack1.Base with modifiers "public"

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web811

  • via Coderanch by Maulin Vasavada, 11 months ago
    Class pack2.Other can not access a member of class pack1.Base with modifiers "public"
  • via Coderanch by Ernest Friedman-Hill, 11 months ago
    Class pack2.Other can not access a member of class pack1.Base with modifiers "public"
  • via wpthm.com by Unknown author, 1 year ago
    Class teletutor.core.test1.Base can not access a member of class teletutor.core.test2.Child with modifiers "protected"
  • Stack trace

    • java.lang.IllegalAccessException: Class pack2.Other can not access a member of class pack1.Base with modifiers "public" at sun.reflect.Reflection.ensureMemberAccess(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at pack2.Other.main(Other.java:32)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    8 times, 3 months ago
    2 times, 5 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    34 more bugmates