java.text.ParseException: failed to load settings from file:/nfs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver

ant-ivy-user | Maarten Coene | 9 years 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

    Re: Force attribute not implemented on standard resolvers?

    apache.org | 1 year ago
    java.text.ParseException: failed to load settings from file:/nfs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver
  2. 0

    Re: Force attribute not implemented on standard resolvers?

    ant-ivy-user | 9 years ago | Maarten Coene
    java.text.ParseException: failed to load settings from file:/nfs/relmgt/templates/ivy/ivy-settings-common.xml: no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      no set method found for force on class org.apache.ivy.plugins.resolver.FileSystemResolver

      at org.apache.ivy.util.Configurator.setAttribute()
    2. Apache Ivy
      XmlSettingsParser.startElement
      1. org.apache.ivy.util.Configurator.setAttribute(Configurator.java:597)
      2. org.apache.ivy.core.settings.XmlSettingsParser.startElement(XmlSettingsParser.java:186)
      2 frames
    3. Xerces2-j
      SAXParserImpl.parse
      1. org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
      2. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
      3. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
      4. org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
      5. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      6. org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
      7. org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
      8. org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
      9. org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
      10. org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source)
      10 frames
    4. Java RT
      SAXParser.parse
      1. javax.xml.parsers.SAXParser.parse(SAXParser.java:176)
      1 frame
    5. Apache Ivy
      IvyAntSettings.execute
      1. org.apache.ivy.core.settings.XmlSettingsParser.doParse(XmlSettingsParser.java:99)
      2. org.apache.ivy.core.settings.XmlSettingsParser.parse(XmlSettingsParser.java:91)
      3. org.apache.ivy.core.settings.IvySettings.load(IvySettings.java:363)
      4. org.apache.ivy.Ivy.configure(Ivy.java:415)
      5. org.apache.ivy.ant.IvyAntSettings.createIvyEngine(IvyAntSettings.java:297)
      6. org.apache.ivy.ant.IvyAntSettings.execute(IvyAntSettings.java:276)
      6 frames
    6. Ant
      UnknownElement.execute
      1. org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
      1 frame
    7. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    8. Ant
      Main.startAnt
      1. org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
      2. org.apache.tools.ant.Task.perform(Task.java:348)
      3. org.apache.tools.ant.Target.execute(Target.java:357)
      4. org.apache.tools.ant.Target.performTasks(Target.java:385)
      5. org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
      6. org.apache.tools.ant.Project.executeTarget(Project.java:1298)
      7. org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
      8. org.apache.tools.ant.Project.executeTargets(Project.java:1181)
      9. org.apache.tools.ant.Main.runBuild(Main.java:698)
      10. org.apache.tools.ant.Main.startAnt(Main.java:199)
      10 frames
    9. Apache Ant Launcher
      Launcher.main
      1. org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
      2. org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
      2 frames