Recommended solutions based on your search
When a member (Variables, methods, and constructors) is private, it is only accessible within the same class as it is declared. Attempting to access or instantiate it from another class would throw java.lang.IllegalAccessException exception.
Solutions on the web
java.lang.IllegalAccessException: can not access a member of class com.sun.tools.jdi.EventRequestManagerImpl$ClassVisibleEventRequestImpl with modifiers "public synchronized"