java.lang.NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;

opensuse.org | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Problem: Java / ANT / NetBeans

    opensuse.org | 6 months ago
    java.lang.NoSuchMethodError: org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      org.apache.tools.ant.launch.Locator.fromJarURI(Ljava/lang/String;)Ljava/lang/String;

      at org.apache.tools.ant.helper.ProjectHelper2.parse()
    2. Ant
      ProjectHelper2.parseUnknownElement
      1. org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:285)
      2. org.apache.tools.ant.helper.ProjectHelper2.parseUnknownElement(ProjectHelper2.java:131)
      2 frames
    3. org.apache.tools
      TargetExecutor.run
      1. org.apache.tools.ant.module.bridge.impl.NbAntlib.process(Unknown Source)
      2. org.apache.tools.ant.module.bridge.impl.BridgeImpl.addCustomDefs(Unknown Source)
      3. org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(Unknown Source)
      4. org.apache.tools.ant.module.run.TargetExecutor.run(Unknown Source)
      4 frames