java.lang.IllegalAccessError

tried to access class org.apache.tools.ant.taskdefs.ProcessDestroyer from class org.apache.tools.ant.taskdefs.Execute

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 web1848

  • via Oracle Community by 843798, 11 months ago
    tried to access class org.apache.tools.ant.taskdefs.ProcessDestroyer from class org.apache.tools.ant.taskdefs.Execute
  • via Oracle Community by 843793, 1 year ago
    tried to access TestSerial from class $Proxy0
  • via Google Groups by Ivan Porto Carrero, 6 days ago
    tried to access class com.glines.socketio.server.SocketIOSessionManager from class org.scalatra.socketio.SocketIOSupport$class
  • Stack trace

    • java.lang.IllegalAccessError: tried to access class org.apache.tools.ant.taskdefs.ProcessDestroyer from class org.apache.tools.ant.taskdefs.Execute at org.apache.tools.ant.taskdefs.Execute.<clinit>(Execute.java:106) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java:74) at org.apache.tools.ant.taskdefs.Execute.main(Execute.java:382)

    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

    You’re the first here who have seen this exception.