java.lang.IllegalAccessError: tried to access class org.apache.tools.ant.taskdefs.ProcessDestroyer from class org.apache.tools.ant.taskdefs.Execute

Oracle Community | 843798 | 1 decade ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Class Overloading

    Oracle Community | 1 decade ago | 843798
    java.lang.IllegalAccessError: tried to access class org.apache.tools.ant.taskdefs.ProcessDestroyer from class org.apache.tools.ant.taskdefs.Execute

    Root Cause Analysis

    1. 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>()
    2. Ant
      Execute.<clinit>
      1. org.apache.tools.ant.taskdefs.Execute.<clinit>(Execute.java:106)
      1 frame
    3. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    4. Ant
      Execute.main
      1. org.apache.tools.ant.taskdefs.Execute.getProcEnvironment(Execute.java:74)
      2. org.apache.tools.ant.taskdefs.Execute.main(Execute.java:382)
      2 frames