java.lang.IllegalAccessException

Class test.Main can not access a member of class test1.Woman with modifiers ""

Samebug tips0

We couldn't find tips for this exception.

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

Solutions on the web547

  • via Unknown by Vadim Vararu,
  • via Unknown by Aryan,
  • Stack trace

    • java.lang.IllegalAccessException: Class test.Main can not access a member of class test1.Woman with modifiers "" at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:65) at java.lang.Class.newInstance0(Class.java:349) at java.lang.Class.newInstance(Class.java:308)

    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

    Unknown visitor
    Unknown visitorOnce,
    Unknown visitor
    Unknown visitorOnce,
    jf-astjf-ast
    2 times, last one
    Andreas HäberAndreas Häber
    Once,
    batwalrus76batwalrus76
    3 times, last one
    37 more bugmates